Closed
Description
Feature gate: #![feature(const_ptr_as_ref)]
Public API
impl<T: ?Sized> NonNull<T> {
pub const unsafe fn as_mut<'a>(&mut self) -> &'a mut T;
}
Steps / History
- Implementation: Make
PTR::as_ref
and similar methodsconst
. #91823 - Implement ptr_as_ref_unchecked #122492
- move some const fn out of the const_ptr_as_ref feature #130164
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.
Activity