diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-15 10:56:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-15 10:56:44 +0200 |
| commit | 83cbceac0f4646967c61419c324dcd4e535b511d (patch) | |
| tree | 18902e510bd2e8f7494eab6c242d240c19d2d9a5 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | e287a000181d3f27e4dd41551fe111ba9f1e68df (diff) | |
| parent | b8eb6ad03273d42d6a22ced57a46e5652fb35f1d (diff) | |
| download | rust-83cbceac0f4646967c61419c324dcd4e535b511d.tar.gz rust-83cbceac0f4646967c61419c324dcd4e535b511d.zip | |
Rollup merge of #126509 - workingjubilee:gently-discourage-doing-things-once, r=jhpratt
std: suggest OnceLock over Once It was noted in https://github.com/rust-lang/rust/issues/125615#issuecomment-2149590818 that Once is not necessary in most cases and should be discouraged. Once is really just an implementation detail of OnceLock that others can use if they want. Suggest they use OnceLock instead.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
