rust/library/std
Jubilee Young 2d0ebca979 Move first OnceLock example to LazyLock
This example is spiritually an example of LazyLock, as it computes a
variable at runtime but accepts no inputs into that process.
It is also slightly simpler and thus easier to understand.
Change it to an even-more concise version and move it to LazyLock.

The example now editorializes slightly more. This may be unnecessary,
but it can be educational for the reader.
2024-06-02 22:53:41 -07:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Move first OnceLock example to LazyLock 2024-06-02 22:53:41 -07:00
tests Stop using the avx512er and avx512pf x86 target features 2024-05-24 20:12:42 +02:00
build.rs Move some expected cfgs to std build.rs as per Cargo recommandation 2024-05-23 16:08:31 +02:00
Cargo.toml Sync libstd deps with backtrace 2024-05-27 19:53:41 -07:00