Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove incorrect documentation
Fixes #31599
  • Loading branch information
steveklabnik committed Feb 14, 2016
1 parent 9257e89 commit b499e5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libcore/ptr.rs
Expand Up @@ -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",
Expand Down

0 comments on commit b499e5a

Please sign in to comment.