-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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.
Description
Feature gate: #![feature(const_option_cloned)]
This is a tracking issue for constifying the Option::cloned
functions.
This is only constifying existing apis, not adding new ones
Public API
// core::option
impl<T> Option<&T> {
const fn cloned(self) -> Option<T>
where
T: ~const Clone;
}
impl<T> Option<&mut T> {
const fn cloned(self) -> Option<T>
where
T: ~const Clone;
}
Steps / History
- Implementation: Const
Option::cloned
#90741 - Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.
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.