Closed
Description
Feature gate: #![feature(const_option_ext)]
This is a tracking issue for option methods.
Public API
// core::option
impl<T> Option<T> {
pub const fn as_pin_ref(self: Pin<&Self>) -> Option<Pin<&T>>;
pub const fn as_pin_mut(self: Pin<&mut Self>) -> Option<Pin<&mut T>>;
pub const fn as_slice(&self) -> &[T];
pub const fn as_mut_slice(&mut self) -> &mut [T];
}
Steps / History
- Implementation: Constify (most)
Option
methods #91928 - Final comment period (FCP)
- Stabilization PR: stabilize const_option_ext #132966
Unresolved Questions
- None yet.
Metadata
Metadata
Assignees
Labels
Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(const_trait_impl)]`Relevant to the library API team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.