-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for once_cell_try #109737
Copy link
Copy link
Open
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This supercedes #74465 after a portion of
once_cellwas stabilized with #105587Feature gate:
#![feature(once_cell_try)]This is a tracking issue for the
*try*methods that go with theonce_cellfeature. Initially they were part of stabilization underonce_cell(#105587) but was removed due to compatibility concerns with try trait v2 (#105587 (comment)).Public API
Steps / History
Trytrait to makeOnce[Cell | Lock]::get_or_try_initgeneric over return type #107122Unresolved Questions
cc @joboet @matklad just for reference
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩