Skip to content

Commit

Permalink
tidy is being silly
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 21, 2019
1 parent 4b47e78 commit f3abbf7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/libcore/mem/maybe_uninit.rs
Expand Up @@ -253,11 +253,8 @@ impl<T> MaybeUninit<T> {
}

/// A promotable constant, equivalent to `uninit()`.
#[unstable(
feature = "internal_uninit_const",
issue = "0",
reason = "hack to work around promotability",
)]
#[unstable(feature = "internal_uninit_const", issue = "0",
reason = "hack to work around promotability")]
pub const UNINIT: Self = Self::uninit();

/// Creates a new `MaybeUninit<T>` in an uninitialized state, with the memory being
Expand Down

0 comments on commit f3abbf7

Please sign in to comment.