]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/mem.rs
Auto merge of #58129 - RalfJung:maybe-uninit, r=cramertj
[rust.git] / src / libcore / mem.rs
index 930fe737a7264bda68822f7fcf4b49f2941b59c7..2f86e13b938166fd719228c3951323028d7b1300 100644 (file)
@@ -15,6 +15,7 @@
 use ops::{Deref, DerefMut};
 
 #[stable(feature = "rust1", since = "1.0.0")]
+#[doc(inline)]
 pub use intrinsics::transmute;
 
 /// Takes ownership and "forgets" about the value **without running its destructor**.
@@ -1147,6 +1148,7 @@ pub unsafe fn into_initialized(self) -> T {
     /// 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()
     }