about summary refs log tree commit diff
path: root/library/std/src/sync/lazy_lock.rs
AgeCommit message (Expand)AuthorLines
2025-08-22modify `LazyLock` poison panic messageConnor Tsui-3/+6
2025-08-03add poisoning documentation to `LazyLock`Connor Tsui-2/+58
2025-07-01Update version placeholdersJosh Stone-1/+1
2025-05-10Rollup merge of #129334 - ChayimFriedman2:more-lazy-methods, r=AmanieuMatthias Krüger-1/+9
2025-01-26Move std::sync unit tests to integration testsbjorn3-3/+0
2025-01-15Clarify note in `std::sync::LazyLock` exampleAeon-1/+1
2025-01-02Move some things to `std::sync::poison` and reexport them in `std::sync`Pavel Grigorenko-1/+2
2024-11-16Add `DerefMut` for `Lazy[Cell/Lock]` that delegates to the unstable `force_mu...Chayim Refael Friedman-1/+9
2024-11-07fix lazylock commentXinye-2/+2
2024-09-18Rollup merge of #130476 - workingjubilee:more-lazy-methods-take-2, r=AmanieuJubilee-6/+111
2024-09-18library: Call it really_init_mut to avoid name collisionsJubilee Young-2/+2
2024-09-18library: Destabilize Lazy{Cell,Lock}::{force,deref}_mutJubilee Young-14/+3
2024-09-17Implement ACP 429: add `Lazy{Cell,Lock}::get[_mut]` and `force_mut`Chayim Refael Friedman-7/+123
2024-09-16fix: Remove duplicate `LazyLock` example.Andrew Lilley Brinker-2/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-26Fix doc nitsJohn Arundel-1/+1
2024-07-11Rename `lazy_cell_consume` to `lazy_cell_into_inner`Trevor Gross-2/+2
2024-06-11replace version placeholderPietro Albini-11/+11
2024-06-02Move first OnceLock example to LazyLockJubilee Young-22/+14
2024-05-28update tracking issue for lazy_cell_consumeTrevor Spiteri-1/+1
2024-02-20Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)Peter Jaszkowiak-18/+23
2024-01-14std: Doc blocking behavior of LazyLock methodsBehnam Esfahbod-6/+15
2023-07-31Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnayMatthias Krüger-3/+5
2023-07-30Rollup merge of #109075 - joboet:lazylock_backtrace, r=workingjubileeJubilee-0/+9
2023-07-25docs(LazyLock): add example pass local LazyLock variable to structDragonBillow-0/+20
2023-04-27std: use `LazyLock` to lazily resolve backtracesjoboet-0/+9
2023-04-19std: make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent w...joboet-3/+5
2023-04-14Add Lazy{Cell,Lock}::into_innerAlex Saveau-1/+37
2023-03-29Stabilize a portion of 'once_cell'Trevor Gross-12/+12
2023-01-27std: add safety comment in `LazyLock::get`joboet-1/+8
2023-01-27std: fix `Debug` implementation on `LazyLock`joboet-8/+5
2023-01-26std: optimize `LazyLock` sizejoboet-16/+66
2022-12-30Auto merge of #105651 - tgross35:once-cell-inline, r=m-ou-sebors-0/+5
2022-12-27Rollup merge of #103718 - matklad:infer-lazy, r=dtolnayMichael Goulet-4/+1
2022-12-13Add #[inline] marker to OnceCell/LazyCell/OnceLock/LazyLockTrevor Gross-0/+5
2022-11-17Properly link `{Once,Lazy}{Cell,Lock}` in docsMaybe Waffle-1/+3
2022-10-29More inference-friendly API for lazyAleksey Kladov-4/+1
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-0/+121