Rollup merge of #31607 - steveklabnik:gh31599, r=brson

Fixes #31599
This commit is contained in:
Steve Klabnik
2016-02-14 18:02:32 -05:00

View File

@@ -127,8 +127,7 @@ pub unsafe fn read<T>(src: *const T) -> T {
tmp tmp
} }
/// Variant of read_and_zero that writes the specific drop-flag byte #[allow(missing_docs)]
/// (which may be more appropriate than zero).
#[inline(always)] #[inline(always)]
#[unstable(feature = "filling_drop", #[unstable(feature = "filling_drop",
reason = "may play a larger role in std::ptr future extensions", reason = "may play a larger role in std::ptr future extensions",