about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-02-14 16:21:21 +0100
committerRalf Jung <post@ralfj.de>2019-02-14 16:21:21 +0100
commitc35a18ec2de105eeb121e86817ccb91984ff5bc3 (patch)
treefe227e44a07fc0c58a035e9107a4e92091260369 /src
parent1e4ab1eca643762be78724767b1f0b86950afde2 (diff)
downloadrust-c35a18ec2de105eeb121e86817ccb91984ff5bc3.tar.gz
rust-c35a18ec2de105eeb121e86817ccb91984ff5bc3.zip
remove MaybeUninit::into_inner
Diffstat (limited to 'src')
-rw-r--r--src/libcore/mem.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 2a493e88fe8..ce856628318 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -1149,14 +1149,6 @@ impl<T> MaybeUninit<T> {
         ManuallyDrop::into_inner(self.value)
     }
 
-    /// Deprecated alternative to `into_initialized`. Will never get stabilized.
-    /// Exists only to transition stdsimd to `into_initialized`.
-    #[inline(always)]
-    #[allow(unused)]
-    pub(crate) unsafe fn into_inner(self) -> T {
-        self.into_initialized()
-    }
-
     /// Gets a reference to the contained value.
     ///
     /// # Unsafety