Rollup merge of #36484 - frewsxcv:patch-33, r=eddyb

Don't ignore a doc code-block we can compile.
This commit is contained in:
Jonathan Turner 2016-09-16 09:29:48 -07:00 committed by GitHub
commit ff224e7d8d

View File

@ -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("Couldnt create foo.txt");