diff options
| author | Diggory Hardy <diggory.hardy@gmail.com> | 2013-04-04 15:08:25 +0200 |
|---|---|---|
| committer | Diggory Hardy <diggory.hardy@gmail.com> | 2013-04-04 15:08:25 +0200 |
| commit | cb91e914185f4be9073dcec9a96ca6b78b7e877f (patch) | |
| tree | 9e00788cd79db5809f0c0de5feaef124ec6e2e14 | |
| parent | 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346 (diff) | |
| download | rust-cb91e914185f4be9073dcec9a96ca6b78b7e877f.tar.gz rust-cb91e914185f4be9073dcec9a96ca6b78b7e877f.zip | |
Tutorial: rename variable to avoid confusion.
| -rw-r--r-- | doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 42b0d5a585a..c7d92c03b6d 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -1191,7 +1191,7 @@ they are frozen: let x = @mut 5; let y = x; { - let y = &*y; // the managed box is now frozen + let z = &*y; // the managed box is now frozen // modifying it through x or y will cause a task failure } // the box is now unfrozen again |
