]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
src/libstd/option.rs

Simple merge