about summary refs log tree commit diff
path: root/src/libcore/ptr.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-14 23:18:00 +0000
committerbors <bors@rust-lang.org>2016-02-14 23:18:00 +0000
commit2808df961bf218dc1844a61efc1906ffdf2808a8 (patch)
tree835a3661a74c4ff18f5030e13876a075e7b7cb89 /src/libcore/ptr.rs
parenta888333ea6acad7e289fa3f0f9e6c1058aa2a011 (diff)
parentfb09a441c664704a7a49d0fba70c1c61dc7bed51 (diff)
downloadrust-2808df961bf218dc1844a61efc1906ffdf2808a8.tar.gz
rust-2808df961bf218dc1844a61efc1906ffdf2808a8.zip
Auto merge of #31661 - steveklabnik:rollup, r=steveklabnik
- Successful merges: #31607, #31649, #31655, #31658
- Failed merges:
Diffstat (limited to 'src/libcore/ptr.rs')
-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",