]> git.lizzy.rs Git - rust.git/commit
rollup merge of #23745: oneeman/trpl-looping
authorAlex Crichton <alex@alexcrichton.com>
Fri, 27 Mar 2015 17:07:47 +0000 (10:07 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 27 Mar 2015 17:07:47 +0000 (10:07 -0700)
commit5f9fd2ea27da8e4cec46b8c946a8be65337419bf
tree3c438479c65e0f60939a8a205ea796396cb5f8b3
parentdf49ea6a837ddf72e61b46bed5ea9d61fa3b78ff
parentdac552f2551d3406d02712d134f74d1175035bbb
rollup merge of #23745: oneeman/trpl-looping

Was reading the 'Looping' section of the book and was puzzled why the last example uses `0u32..10` when the others don't.  Tried it out without and it seems to work, so I figured it should just be `0..10`.  If there is a reason it needs to be `0u32..10` it should be explained in the text (I'd offer to do it but I have no idea).

r? @steveklabnik