diff options
Diffstat (limited to 'src/doc/intro.md')
| -rw-r--r-- | src/doc/intro.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/intro.md b/src/doc/intro.md index 01697a3e0cb..f14de7b9c46 100644 --- a/src/doc/intro.md +++ b/src/doc/intro.md @@ -313,7 +313,7 @@ print `"Hello"`, or does Rust crash? Neither. It refuses to compile: -```{notrust,ignore} +```{ignore} $ cargo run Compiling hello_world v0.0.1 (file:///Users/you/src/hello_world) main.rs:8:5: 8:6 error: cannot borrow `v` as mutable because it is also borrowed as immutable @@ -428,7 +428,7 @@ fn main() { It gives us this error: -```{notrust,ignore} +```{ignore} 6:71 error: capture of moved value: `numbers` for j in range(0, 3) { numbers[j] += 1 } ^~~~~~~ |
