Skip to content

Commit 5cab952

Browse files
authored
Don't ignore a doc code-block we can compile.
1 parent 6ffdda1 commit 5cab952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/traits.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ let result = f.write(buf);
291291

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

294-
```rust,ignore
294+
```rust,no_run
295295
use std::io::Write;
296296
297297
let mut f = std::fs::File::create("foo.txt").expect("Couldn’t create foo.txt");

0 commit comments

Comments
 (0)