rust/library/std
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 Reformat use declarations. 2024-07-29 08:26:52 +10:00
build.rs std float tests: special-case Miri in feature detection 2024-08-08 12:17:50 +02:00
Cargo.toml Rollup merge of #128873 - ChrisDenton:windows-targets, r=Mark-Simulacrum 2024-08-14 05:05:51 +02:00