summary refs log tree commit diff
path: root/library/std/src/sync/once_lock.rs
AgeCommit message (Expand)AuthorLines
2023-12-08OnceLock: Rework example, statics aren't droppedIan Rees-14/+25
2023-11-25Update `OnceLock` documentation to give a concrete 'lazy static' example, and...Corey Farwell-9/+41
2023-10-13Implement `OnceCell/Lock::try_insert()`daxpedda-3/+40
2023-07-31Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnayMatthias Krüger-3/+5
2023-04-28replace version placeholdersPietro Albini-20/+20
2023-04-19std: make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent w...joboet-3/+5
2023-04-16rm const traits in libcoreDeadbeef-2/+1
2023-03-29Stabilize a portion of 'once_cell'Trevor Gross-37/+22
2022-12-13Add #[inline] marker to OnceCell/LazyCell/OnceLock/LazyLockTrevor Gross-1/+16
2022-11-17Properly link `{Once,Lazy}{Cell,Lock}` in docsMaybe Waffle-2/+4
2022-09-03std: make `ReentrantMutex` movable and `const`; simplify `Stdout` initializationjoboet-55/+0
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-0/+496