diff options
Diffstat (limited to 'zh-cn/rust-cn.html.markdown')
-rw-r--r-- | zh-cn/rust-cn.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zh-cn/rust-cn.html.markdown b/zh-cn/rust-cn.html.markdown index 5d3fc693..6bed1650 100644 --- a/zh-cn/rust-cn.html.markdown +++ b/zh-cn/rust-cn.html.markdown @@ -1,5 +1,5 @@ --- -language: rust +language: Rust contributors: - ["P1start", "http://p1start.github.io/"] translators: @@ -211,7 +211,7 @@ fn main() { // `for` 循环 let array = [1, 2, 3]; - for i in array.iter() { + for i in array { println!("{}", i); } |