Skip to content

Commit

Permalink
Rollup merge of #87422 - mgeier:doc-strip-feature-attribute, r=LeSeul…
Browse files Browse the repository at this point in the history
…Artichaut

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.
  • Loading branch information
JohnTitor authored Jul 24, 2021
2 parents dbe0675 + 7879a59 commit 03a79fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/core/src/mem/maybe_uninit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
///
Expand Down

0 comments on commit 03a79fc

Please sign in to comment.