Skip to content

Commit cb91e91

Browse files
author
Diggory Hardy
committedApr 4, 2013
Tutorial: rename variable to avoid confusion.
1 parent 5f13e9c commit cb91e91

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

5 commit comments

Comments
 (5)

bors commented on Apr 4, 2013

@bors
Collaborator

saw approval from thestinger
at dhardy@cb91e91

bors commented on Apr 4, 2013

@bors
Collaborator

merging dhardy/rust/master = cb91e91 into auto

bors commented on Apr 4, 2013

@bors
Collaborator

dhardy/rust/master = cb91e91 merged ok, testing candidate = 717ed51

bors commented on Apr 4, 2013

@bors
Collaborator

fast-forwarding incoming to auto = 717ed51

Please sign in to comment.