Don't ignore a doc code-block we can compile.
This commit is contained in:
parent
6ffdda1ba1
commit
5cab9525ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue