@@ -117,14 +117,12 @@ pub unsafe fn replace<T>(dest: *mut T, mut src: T) -> T {
117117/// moves the value out of `src` without preventing further usage of `src`. If
118118/// `T` is not [`Copy`], then care must be taken to ensure that the value at
119119/// `src` is not used before the data is overwritten again (e.g. with
120- /// [`write`], [`zero_memory`], or [`copy_memory`] ). Note that `*src = foo`
120+ /// [`write`]). Note that `*src = foo`
121121/// counts as a use because it will attempt to drop the value previously at
122122/// `*src`.
123123///
124124/// [`Copy`]: ../marker/trait.Copy.html
125125/// [`write`]: fn.write.html
126- /// [`zero_memory`]: fn.zero_memory.html
127- /// [`copy_memory`]: fn.copy_memory.html
128126///
129127/// # Examples
130128///
@@ -215,14 +213,12 @@ pub unsafe fn write<T>(dst: *mut T, src: T) {
215213/// moves the value out of `src` without preventing further usage of `src`. If
216214/// `T` is not [`Copy`], then care must be taken to ensure that the value at
217215/// `src` is not used before the data is overwritten again (e.g. with
218- /// [`write`], [`zero_memory`], or [`copy_memory`] ). Note that `*src = foo`
216+ /// [`write`]). Note that `*src = foo`
219217/// counts as a use because it will attempt to drop the value previously at
220218/// `*src`.
221219///
222220/// [`Copy`]: ../marker/trait.Copy.html
223221/// [`write`]: fn.write.html
224- /// [`zero_memory`]: fn.zero_memory.html
225- /// [`copy_memory`]: fn.copy_memory.html
226222///
227223/// # Examples
228224///
0 commit comments