]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #32565 - tbu-:pr_cell_as_mut, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 6 May 2016 00:55:28 +0000 (17:55 -0700)
committerbors <bors@rust-lang.org>
Fri, 6 May 2016 00:55:28 +0000 (17:55 -0700)
Add `as_mut` methods to the `std::cell` structs

This is safe since the borrow checking ensures that we have the only
mutable reference to the struct, thus we can safely borrow its interior.


Trivial merge