Feature gate: #![feature(vec_as_non_null)]
This is a tracking issue for Vec::as_non_null()
See also #157345 for a similar feature.
Public API
impl<T, A: Allocator> Vec<T, A> {
pub const fn as_non_null(&mut self) -> NonNull<T> { .... }
}
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
Feature gate:
#![feature(vec_as_non_null)]This is a tracking issue for
Vec::as_non_null()See also #157345 for a similar feature.
Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Vec::as_non_null()method libs-team#440Vec::as_non_null#130624box_vec_non_nullfeature, at the tracking issue Tracking Issue forbox_vec_non_null#130364#[rustc_as_ptr]added to it, and is split out of thebox_vec_non_nullfeature into its own feature (this tracking issue): Partially stabilizebox_vec_non_null#157226Unresolved Questions
&selfor&mut selfargument.Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩