diff options
| author | Corey Farwell <coreyf@rwell.org> | 2016-09-14 22:49:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-14 22:49:36 -0400 |
| commit | 5cab9525ae12a18ec0583ee1ddba3a9eb31a5cfd (patch) | |
| tree | 8ad0e93d6e0b511a85785224091a78938f6fceeb | |
| parent | 6ffdda1ba183c981d57e63b59c88184be449eee4 (diff) | |
Don't ignore a doc code-block we can compile.
| -rw-r--r-- | src/doc/book/traits.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/traits.md b/src/doc/book/traits.md index d07fb6b7c45..b0d954adf67 100644 --- a/src/doc/book/traits.md +++ b/src/doc/book/traits.md @@ -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"); |
