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