mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
71fdb95272
Add a conversion from `&mut T` to `&mut UnsafeCell<T>` Provides a safe way of downgrading an exclusive reference into an alias-able `&UnsafeCell<T>` reference. ACP: https://github.com/rust-lang/libs-team/issues/198.