Skip to content

Commit 717ed51

Browse files
committed
auto merge of #5716 : dhardy/rust/master, r=thestinger
2 parents b5d8224 + cb91e91 commit 717ed51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ they are frozen:
11911191
let x = @mut 5;
11921192
let y = x;
11931193
{
1194-
let y = &*y; // the managed box is now frozen
1194+
let z = &*y; // the managed box is now frozen
11951195
// modifying it through x or y will cause a task failure
11961196
}
11971197
// the box is now unfrozen again

0 commit comments

Comments
 (0)