@@ -228,7 +228,7 @@ pub unsafe fn replace<T>(dest: *mut T, mut src: T) -> T {
228228/// moves the value out of `src` without preventing further usage of `src`.
229229/// If `T` is not `Copy`, then care must be taken to ensure that the value at
230230/// `src` is not used before the data is overwritten again (e.g. with `write`,
231- /// `zero_memory `, or `copy_memory `). Note that `*src = foo` counts as a use
231+ /// `write_bytes `, or `copy `). Note that `*src = foo` counts as a use
232232/// because it will attempt to drop the value previously at `*src`.
233233///
234234/// The pointer must be aligned; use `read_unaligned` if that is not the case.
@@ -264,7 +264,7 @@ pub unsafe fn read<T>(src: *const T) -> T {
264264/// moves the value out of `src` without preventing further usage of `src`.
265265/// If `T` is not `Copy`, then care must be taken to ensure that the value at
266266/// `src` is not used before the data is overwritten again (e.g. with `write`,
267- /// `zero_memory `, or `copy_memory `). Note that `*src = foo` counts as a use
267+ /// `write_bytes `, or `copy `). Note that `*src = foo` counts as a use
268268/// because it will attempt to drop the value previously at `*src`.
269269///
270270/// # Examples
@@ -397,7 +397,7 @@ pub unsafe fn write_unaligned<T>(dst: *mut T, src: T) {
397397/// moves the value out of `src` without preventing further usage of `src`.
398398/// If `T` is not `Copy`, then care must be taken to ensure that the value at
399399/// `src` is not used before the data is overwritten again (e.g. with `write`,
400- /// `zero_memory `, or `copy_memory `). Note that `*src = foo` counts as a use
400+ /// `write_bytes `, or `copy `). Note that `*src = foo` counts as a use
401401/// because it will attempt to drop the value previously at `*src`.
402402///
403403/// # Examples
@@ -871,7 +871,7 @@ impl<T: ?Sized> *const T {
871871 /// moves the value out of `self` without preventing further usage of `self`.
872872 /// If `T` is not `Copy`, then care must be taken to ensure that the value at
873873 /// `self` is not used before the data is overwritten again (e.g. with `write`,
874- /// `zero_memory `, or `copy_memory `). Note that `*self = foo` counts as a use
874+ /// `write_bytes `, or `copy `). Note that `*self = foo` counts as a use
875875 /// because it will attempt to drop the value previously at `*self`.
876876 ///
877877 /// The pointer must be aligned; use `read_unaligned` if that is not the case.
@@ -925,7 +925,7 @@ impl<T: ?Sized> *const T {
925925 /// moves the value out of `self` without preventing further usage of `self`.
926926 /// If `T` is not `Copy`, then care must be taken to ensure that the value at
927927 /// `self` is not used before the data is overwritten again (e.g. with `write`,
928- /// `zero_memory `, or `copy_memory `). Note that `*self = foo` counts as a use
928+ /// `write_bytes `, or `copy `). Note that `*self = foo` counts as a use
929929 /// because it will attempt to drop the value previously at `*self`.
930930 ///
931931 /// # Examples
@@ -961,7 +961,7 @@ impl<T: ?Sized> *const T {
961961 /// moves the value out of `self` without preventing further usage of `self`.
962962 /// If `T` is not `Copy`, then care must be taken to ensure that the value at
963963 /// `self` is not used before the data is overwritten again (e.g. with `write`,
964- /// `zero_memory `, or `copy_memory `). Note that `*self = foo` counts as a use
964+ /// `write_bytes `, or `copy `). Note that `*self = foo` counts as a use
965965 /// because it will attempt to drop the value previously at `*self`.
966966 ///
967967 /// # Examples
@@ -1569,7 +1569,7 @@ impl<T: ?Sized> *mut T {
15691569 /// moves the value out of `self` without preventing further usage of `self`.
15701570 /// If `T` is not `Copy`, then care must be taken to ensure that the value at
15711571 /// `self` is not used before the data is overwritten again (e.g. with `write`,
1572- /// `zero_memory `, or `copy_memory `). Note that `*self = foo` counts as a use
1572+ /// `write_bytes `, or `copy `). Note that `*self = foo` counts as a use
15731573 /// because it will attempt to drop the value previously at `*self`.
15741574 ///
15751575 /// The pointer must be aligned; use `read_unaligned` if that is not the case.
@@ -1623,7 +1623,7 @@ impl<T: ?Sized> *mut T {
16231623 /// moves the value out of `self` without preventing further usage of `self`.
16241624 /// If `T` is not `Copy`, then care must be taken to ensure that the value at
16251625 /// `src` is not used before the data is overwritten again (e.g. with `write`,
1626- /// `zero_memory `, or `copy_memory `). Note that `*self = foo` counts as a use
1626+ /// `write_bytes `, or `copy `). Note that `*self = foo` counts as a use
16271627 /// because it will attempt to drop the value previously at `*self`.
16281628 ///
16291629 /// # Examples
@@ -1659,7 +1659,7 @@ impl<T: ?Sized> *mut T {
16591659 /// moves the value out of `self` without preventing further usage of `self`.
16601660 /// If `T` is not `Copy`, then care must be taken to ensure that the value at
16611661 /// `self` is not used before the data is overwritten again (e.g. with `write`,
1662- /// `zero_memory `, or `copy_memory `). Note that `*self = foo` counts as a use
1662+ /// `write_bytes `, or `copy `). Note that `*self = foo` counts as a use
16631663 /// because it will attempt to drop the value previously at `*self`.
16641664 ///
16651665 /// # Examples
0 commit comments