]> git.lizzy.rs Git - rust.git/commit
auto merge of #12888 : aochagavia/rust/Fix-comment, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 14 Mar 2014 23:51:26 +0000 (16:51 -0700)
committerbors <bors@rust-lang.org>
Fri, 14 Mar 2014 23:51:26 +0000 (16:51 -0700)
commit76e0e26603d723038dae1ad06161cade47e53a55
tree9ee08c82c4b4a2f888a55eb14fe0b811cbfe1874
parent26fdfa124c065872a0b3c98e7234b05b00840f20
parenta7d3637f6711cc96a5f6dc86772dba14fef1a013
auto merge of #12888 : aochagavia/rust/Fix-comment, r=alexcrichton

The old comment of as_mut_slice() did not describe the function correctly. The new one does.

Also refactored option::iter() and option::mut_iter() to use as_ref() and as_mut() instead of match.
src/libstd/option.rs