Skip to content

Commit

Permalink
Rollup merge of rust-lang#36484 - frewsxcv:patch-33, r=eddyb
Browse files Browse the repository at this point in the history
Don't ignore a doc code-block we can compile.
  • Loading branch information
Jonathan Turner committed Sep 16, 2016
2 parents 77c7ff5 + 5cab952 commit ff224e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ let result = f.write(buf);

We need to `use` the `Write` trait first:

```rust,ignore
```rust,no_run
use std::io::Write;
let mut f = std::fs::File::create("foo.txt").expect("Couldn’t create foo.txt");
Expand Down

0 comments on commit ff224e7

Please sign in to comment.