about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-07-21 12:59:51 +0200
committerRalf Jung <post@ralfj.de>2019-07-21 12:59:51 +0200
commitf3abbf71035e469fce6db37bdb444ce3e50e870f (patch)
treec787e7be11c4019b2a581e3ad2cfac688d0a8221
parent4b47e78a16524ed4878bfffaaf60c32bb18d88ae (diff)
downloadrust-f3abbf71035e469fce6db37bdb444ce3e50e870f.tar.gz
rust-f3abbf71035e469fce6db37bdb444ce3e50e870f.zip
tidy is being silly
-rw-r--r--src/libcore/mem/maybe_uninit.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libcore/mem/maybe_uninit.rs b/src/libcore/mem/maybe_uninit.rs
index 9ce89f9669d..2e88db8df11 100644
--- a/src/libcore/mem/maybe_uninit.rs
+++ b/src/libcore/mem/maybe_uninit.rs
@@ -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