doc: correct for-loop example

This commit is contained in:
Niko Matsakis 2012-09-20 05:57:36 -07:00
parent 7350eba4b4
commit 0dd4fad3e3

View File

@ -2078,7 +2078,7 @@ An example a for loop:
let v: ~[foo] = ~[a, b, c];
for v.each |e| {
bar(e);
bar(*e);
}
~~~~