diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-09 09:25:04 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-09 09:25:04 -0800 |
| commit | fb587f1f9bfbd102e7fffdd023c40974a3dd71cc (patch) | |
| tree | 2d01d4cff8c12bc31ec7eef70b43a9ce9a99ccc2 /src/doc/intro.md | |
| parent | ae805da48724e6238c4d2f56541774e5fcd13bf1 (diff) | |
| parent | 8ba56052330c69b6bb5bb9c477ff2d3894e5911d (diff) | |
| download | rust-fb587f1f9bfbd102e7fffdd023c40974a3dd71cc.tar.gz rust-fb587f1f9bfbd102e7fffdd023c40974a3dd71cc.zip | |
rollup merge of #19614: steveklabnik/gh19599
Fixes #19599
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 2e1d7d9d613..5574b047d96 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 } ^~~~~~~ |
