Skip to content

Commit

Permalink
Rollup merge of rust-lang#87422 - mgeier:doc-strip-feature-attribute,…
Browse files Browse the repository at this point in the history
… 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 rust-lang#86344.
  • Loading branch information
LeSeulArtichaut authored Jul 24, 2021
2 parents fa1bbfb + 7879a59 commit cc74575
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 cc74575

Please sign in to comment.