@@ -117,14 +117,12 @@ pub unsafe fn replace<T>(dest: *mut T, mut src: T) -> T {
117
117
/// moves the value out of `src` without preventing further usage of `src`. If
118
118
/// `T` is not [`Copy`], then care must be taken to ensure that the value at
119
119
/// `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`
121
121
/// counts as a use because it will attempt to drop the value previously at
122
122
/// `*src`.
123
123
///
124
124
/// [`Copy`]: ../marker/trait.Copy.html
125
125
/// [`write`]: fn.write.html
126
- /// [`zero_memory`]: fn.zero_memory.html
127
- /// [`copy_memory`]: fn.copy_memory.html
128
126
///
129
127
/// # Examples
130
128
///
@@ -215,14 +213,12 @@ pub unsafe fn write<T>(dst: *mut T, src: T) {
215
213
/// moves the value out of `src` without preventing further usage of `src`. If
216
214
/// `T` is not [`Copy`], then care must be taken to ensure that the value at
217
215
/// `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`
219
217
/// counts as a use because it will attempt to drop the value previously at
220
218
/// `*src`.
221
219
///
222
220
/// [`Copy`]: ../marker/trait.Copy.html
223
221
/// [`write`]: fn.write.html
224
- /// [`zero_memory`]: fn.zero_memory.html
225
- /// [`copy_memory`]: fn.copy_memory.html
226
222
///
227
223
/// # Examples
228
224
///
0 commit comments