rust/library/alloc
Ralf Jung a49451c805
Rollup merge of #76530 - carbotaniuman:fix-rc, r=RalfJung
Eliminate mut reference UB in Drop impl for Rc<T>

This changes `self.ptr.as_mut()` with `get_mut_unchecked` which
does not use an intermediate reference.  Arc<T> already handled this
case properly.

Fixes #76509
2020-09-12 10:43:18 +02:00
..
benches fix benchmark compile errors 2020-09-03 20:59:33 +02:00
src Rollup merge of #76530 - carbotaniuman:fix-rc, r=RalfJung 2020-09-12 10:43:18 +02:00
tests Auto merge of #76368 - ayushmishra2005:move_str_contact_library, r=jyn514 2020-09-07 05:20:46 +00:00
Cargo.toml mv std libs to library/ 2020-07-27 19:51:13 -05:00