From cb91e914185f4be9073dcec9a96ca6b78b7e877f Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Thu, 4 Apr 2013 15:08:25 +0200 Subject: [PATCH] Tutorial: rename variable to avoid confusion. --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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