]> git.lizzy.rs Git - rust.git/commit
auto merge of #7931 : blake2-ppc/rust/chain-mut-ref, r=pcwalton
authorbors <bors@rust-lang.org>
Thu, 25 Jul 2013 02:25:38 +0000 (19:25 -0700)
committerbors <bors@rust-lang.org>
Thu, 25 Jul 2013 02:25:38 +0000 (19:25 -0700)
commit467d381d3afce474309d6ba9a334fa9b463c3a7f
tree902b9b0cbfe5387f1138dda1dce06745d4cba93b
parent4a726f0573dcfcd01ae9b37266014df0e26f2e22
parent625ca7afe4fb50758215d623d45de84a5f4290ae
auto merge of #7931 : blake2-ppc/rust/chain-mut-ref, r=pcwalton

First, clean up the uses of "None" and "Some" to always use consistent title case matching the variant names.

Add .chain_mut_ref() which is a missing method. A use case example for this method is extraction of an optional value from an Option\<Container\> value.
src/libstd/option.rs