mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
Rollup merge of #87422 - mgeier:doc-strip-feature-attribute, r=LeSeulArtichaut
DOC: remove unnecessary feature crate attribute from example code I'm not sure whether I fully understand the stabilization process (I most likely don't), but I think this attribute isn't necessary here, right? This was recently stabilized in #86344.
This commit is contained in:
@@ -461,7 +461,6 @@ pub fn zeroed() -> MaybeUninit<T> {
|
||||
/// With `write`, we can avoid the need to write through a raw pointer:
|
||||
///
|
||||
/// ```rust
|
||||
/// #![feature(maybe_uninit_extra)]
|
||||
/// use core::pin::Pin;
|
||||
/// use core::mem::MaybeUninit;
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user