mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
d0a2ca4867
In the implementation of `force_mut`, I chose performance over safety. For `LazyLock` this isn't really a choice; the code has to be unsafe. But for `LazyCell`, we can have a full-safe implementation, but it will be a bit less performant, so I went with the unsafe approach.