os-rust/library/core
Chayim Refael Friedman d0a2ca4867 Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut
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.
2024-09-17 09:40:34 -07:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut 2024-09-17 09:40:34 -07:00
tests Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut 2024-09-17 09:40:34 -07:00
Cargo.toml Cleanup bootstrap check-cfg 2024-06-27 11:30:03 +02:00