Rollup merge of #36484 - frewsxcv:patch-33, r=eddyb
Don't ignore a doc code-block we can compile.
This commit is contained in:
commit
ff224e7d8d
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