diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-05-27 13:21:38 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-06-02 22:53:41 -0700 |
| commit | 9ed7cfc952b06fb4e552fb02bbd65070e56cfdc0 (patch) | |
| tree | fe73cddb73ea5fd151c2183350541aef6e6a7da4 /compiler/rustc_interface/src/errors.rs | |
| parent | 2d0ebca9798f76ff5ff1ef171cdf73fb5c8d7127 (diff) | |
| download | rust-9ed7cfc952b06fb4e552fb02bbd65070e56cfdc0.tar.gz rust-9ed7cfc952b06fb4e552fb02bbd65070e56cfdc0.zip | |
Add "OnceList" example to motivate OnceLock
While slightly verbose, it helps explain "why bother with OnceLock?" This is a point of confusion that has been raised multiple times shortly before and after the stabilization of LazyLock.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
