From b499e5a08906658e2fb1652f773670b7910a7855 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Fri, 12 Feb 2016 11:55:31 -0500 Subject: [PATCH] Remove incorrect documentation Fixes #31599 --- src/libcore/ptr.rs | 3 +-- 1 file changed, 1 insertion(+), 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(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",