mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
a49451c805
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 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |