about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-02-14 18:02:32 -0500
committerSteve Klabnik <steve@steveklabnik.com>2016-02-14 18:02:32 -0500
commitc49edbc5eefe9526b66c0f922a2ce10bd394b15d (patch)
tree5ffcba75f038dfd7e5ab2c5cc848f0a729e7ef1a /src/libcore
parent9b367d9d8ba0e75eddb45e2fd14c8b95a9d41905 (diff)
parentb499e5a08906658e2fb1652f773670b7910a7855 (diff)
downloadrust-c49edbc5eefe9526b66c0f922a2ce10bd394b15d.tar.gz
rust-c49edbc5eefe9526b66c0f922a2ce10bd394b15d.zip
Rollup merge of #31607 - steveklabnik:gh31599, r=brson
Fixes #31599
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ptr.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index a826f2bb444..3cbb2f17be7 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -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",