We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4874a commit f52e643Copy full SHA for f52e643
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 28c45601b299c309d7c9f5b3f53318b9dfc62b34
+refs/heads/master: 95d9c8699c252f3dfe1836e93a47718d14983165
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/doc/tutorial.md
@@ -1558,7 +1558,7 @@ access local variables in the enclosing scope.
1558
1559
~~~~
1560
let mut max = 0;
1561
-(~[1, 2, 3]).map(|x| if *x > max { max = *x });
+[1, 2, 3].map(|x| if *x > max { max = *x });
1562
1563
1564
Stack closures are very efficient because their environment is
0 commit comments