]> git.lizzy.rs Git - rust.git/commitdiff
DOC: remove unnecessary feature crate attribute from example code
authorMatthias Geier <Matthias.Geier@gmail.com>
Sat, 24 Jul 2021 09:27:42 +0000 (11:27 +0200)
committerMatthias Geier <Matthias.Geier@gmail.com>
Sat, 24 Jul 2021 09:27:42 +0000 (11:27 +0200)
library/core/src/mem/maybe_uninit.rs

index 5122421ea8c852fdef7afbbba7c3f58075f49a0f..d3ebc1cebb67bf6913e5f5b6fc86716779177cc1 100644 (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;
     ///