about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2021-07-24 11:27:42 +0200
committerMatthias Geier <Matthias.Geier@gmail.com>2021-07-24 11:27:42 +0200
commit7879a59ac72e2c53659358bcaa3b7c32e06047f7 (patch)
tree4b080baf97de8c37e424c0f26beb34b780db7f18
parent7d8e7b14a7ccfeca85f7206c0a7e27a3f144ce9e (diff)
downloadrust-7879a59ac72e2c53659358bcaa3b7c32e06047f7.tar.gz
rust-7879a59ac72e2c53659358bcaa3b7c32e06047f7.zip
DOC: remove unnecessary feature crate attribute from example code
-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;
     ///