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 7580454 commit d76032eCopy full SHA for d76032e
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 05bdfe8e2e927ebdef6d039b7634e0dd7fa8a7a7
+refs/heads/master: 69bfb6f717b927f5f388391df40a8676e5f39ea6
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
trunk/src/doc/intro.md
@@ -565,7 +565,7 @@ while retaining safety. The answer is iterators:
565
```{rust}
566
let vec = vec![1, 2, 3];
567
568
-for x in vec {
+for x in &vec {
569
println!("{}", x);
570
}
571
```
0 commit comments