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:
Manish Goregaokar
2021-07-24 09:52:04 -07:00
committed by GitHub
-1
View File
@@ -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;
///