]> git.lizzy.rs Git - rust.git/commitdiff
Don't ignore a doc code-block we can compile.
authorCorey Farwell <coreyf@rwell.org>
Thu, 15 Sep 2016 02:49:36 +0000 (22:49 -0400)
committerGitHub <noreply@github.com>
Thu, 15 Sep 2016 02:49:36 +0000 (22:49 -0400)
src/doc/book/traits.md

index d07fb6b7c45bfb06a6beafa89f0f767499dee733..b0d954adf6771c9bacd8d3877d5dd57ef4abcd34 100644 (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("Couldn’t create foo.txt");