]> git.lizzy.rs Git - rust.git/commitdiff
Remove incorrect documentation
authorSteve Klabnik <steve@steveklabnik.com>
Fri, 12 Feb 2016 16:55:31 +0000 (11:55 -0500)
committerSteve Klabnik <steve@steveklabnik.com>
Sun, 14 Feb 2016 13:21:32 +0000 (08:21 -0500)
Fixes #31599

src/libcore/ptr.rs

index a826f2bb4440f9e4d344fa29d2886bab8b01584a..3cbb2f17be78b0343aa63d42c9596343df5e18b5 100644 (file)
@@ -127,8 +127,7 @@ pub unsafe fn read<T>(src: *const T) -> T {
     tmp
 }
 
-/// Variant of read_and_zero that writes the specific drop-flag byte
-/// (which may be more appropriate than zero).
+#[allow(missing_docs)]
 #[inline(always)]
 #[unstable(feature = "filling_drop",
            reason = "may play a larger role in std::ptr future extensions",