-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for lazy_cell #109736
Copy link
Copy link
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Note:
lazy_cell_consumeis now tracked at #125623This supercedes #74465 after a portion of
once_cellwas stabilized with #105587Feature gate:
#![feature(lazy_cell)]This is a tracking issue for the
LazyCellandLazyLocktypes, which are designed to support convenient one-time initialization. One of the main goals is to be able to replace thelazy_staticcrate, as well asonce_cell::{sync, unsync}::Lazy.Public API
Steps / History
LazyCellandLazyLock#121377Unresolved Questions
Lazy<T, F>covariant inFmatklad/once_cell#167)F = fn() -> Tin type signature (See Tracking Issue forlazy_cell#109736 (comment))Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩