]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12161 : aepsil0n/rust/docs/for-loop, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 20 Feb 2014 18:36:49 +0000 (10:36 -0800)
committerbors <bors@rust-lang.org>
Thu, 20 Feb 2014 18:36:49 +0000 (10:36 -0800)
I just started learning Rust and the absence of an explanation of the for-loop in the beginning really bugged me about the tutorial. Hence I simply added these lines, where I would have expected them. I know that there is something later on in the section on traits. However, this simple iteration scheme feels like something that you should be aware of right away.

1  2 
src/doc/tutorial.md

Simple merge