Skip to content

Commit 4661dc8

Browse files
committed
Remove incorrect documentation
Fixes #31599
1 parent 9257e89 commit 4661dc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libcore/ptr.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ pub unsafe fn read<T>(src: *const T) -> T {
127127
tmp
128128
}
129129

130-
/// Variant of read_and_zero that writes the specific drop-flag byte
131-
/// (which may be more appropriate than zero).
132130
#[inline(always)]
133131
#[unstable(feature = "filling_drop",
134132
reason = "may play a larger role in std::ptr future extensions",

0 commit comments

Comments
 (0)