about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-07-24 09:52:04 -0700
committerGitHub <noreply@github.com>2021-07-24 09:52:04 -0700
commitacfa3ac4052dfe127eee3fe8d352a48918bc2d9d (patch)
treecc383acd5cf79e1b84b757bad894ebeb979246a1
parent25fab0c8a7e5cd914c90902b559f35f0af7bde2c (diff)
parent7879a59ac72e2c53659358bcaa3b7c32e06047f7 (diff)
downloadrust-acfa3ac4052dfe127eee3fe8d352a48918bc2d9d.tar.gz
rust-acfa3ac4052dfe127eee3fe8d352a48918bc2d9d.zip
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.
-rw-r--r--library/core/src/mem/maybe_uninit.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs
index 5122421ea8c..d3ebc1cebb6 100644
--- a/library/core/src/mem/maybe_uninit.rs
+++ b/library/core/src/mem/maybe_uninit.rs
@@ -461,7 +461,6 @@ impl<T> 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;
     ///