about summary refs log tree commit diff
path: root/library/std/src/lazy.rs
AgeCommit message (Expand)AuthorLines
2022-10-08Remove empty core::lazy and std::lazyest31-1/+0
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-616/+0
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+1
2021-08-17Constified `Default` implementationsDeadbeef-1/+2
2021-08-01Write docs for SyncOnceCell From and Default implMichael Howell-0/+30
2021-03-27Use DebugStruct::finish_non_exhaustive() in std.Mara Bos-1/+1
2021-02-28Clarify that SyncOnceCell::set blocks.Erik Jensen-1/+4
2021-02-24library: Normalize safety-for-unsafe-block commentsMiguel Ojeda-3/+7
2020-12-08Add (internal-only) SyncOnceCell::get_or_init_pin.Mara Bos-0/+55
2020-09-12Simplify SyncOnceCell's `take` and `drop`.Mara Bos-26/+13
2020-09-08Capitalize safety commentsFlying-Toast-3/+3
2020-09-05Add compile_fail test for SyncOnceCell's dropck issue.Mara Bos-1/+19
2020-09-05Fix dropck issue of SyncOnceCell.Mara Bos-1/+8
2020-09-01Auto merge of #76047 - Dylan-DPC:rename/maybe, r=RalfJungbors-2/+2
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-330/+3
2020-08-29rename get_{ref, mut} to assume_init_{ref,mut} in MaybeuninitDPC-2/+2
2020-08-25Suggest `mem::forget` if `mem::ManuallyDrop::new` isn't usedScott McMurray-1/+1
2020-08-19Rollup merge of #75696 - matklad:mirit, r=RalfJungTyler Mandry-24/+4
2020-08-19Remove `#[cfg(miri)]` from OnceCell testsAleksey Kladov-24/+4
2020-08-18Make OnceCell<T> transparent to dropckAleksey Kladov-2/+12
2020-07-28Fix RefUnwindSafe & UnwinsSafe impls for lazy::SyncLazyAleksey Kladov-1/+3
2020-07-27mv std libs to library/mark-0/+846