Files
rust/library/std/src
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
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-04-10 13:50:27 -04:00
2024-04-10 13:50:27 -04:00
2023-12-22 11:01:42 +01:00
2024-03-20 15:35:13 +01:00
2024-01-11 11:30:12 -05:00
2024-05-20 11:13:31 -04:00
2024-05-01 22:19:11 -04:00
2024-05-16 15:41:06 -05:00
2024-05-16 15:41:06 -05:00
2023-12-12 18:12:23 +08:00
2024-05-01 21:01:51 -04:00
2024-04-08 11:57:17 +00:00
2024-03-07 07:49:22 +01:00