summaryrefslogtreecommitdiffhomepage
path: root/rust.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'rust.html.markdown')
-rw-r--r--rust.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust.html.markdown b/rust.html.markdown
index e835de12..9cb44d04 100644
--- a/rust.html.markdown
+++ b/rust.html.markdown
@@ -236,7 +236,7 @@ fn main() {
// `for` loops/iteration
let array = [1, 2, 3];
- for i in array.iter() {
+ for i in array {
println!("{}", i);
}