@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user