Skip to content

Commit

Permalink
remove references to zero_memory and copy_memory
Browse files Browse the repository at this point in the history
I can no longer find these methods in nightly docs.
  • Loading branch information
matthew-piziak committed Aug 30, 2016
1 parent 33560ee commit b5ce02c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/libcore/ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,12 @@ pub unsafe fn replace<T>(dest: *mut T, mut src: T) -> T {
/// moves the value out of `src` without preventing further usage of `src`. If
/// `T` is not [`Copy`], then care must be taken to ensure that the value at
/// `src` is not used before the data is overwritten again (e.g. with
/// [`write`], [`zero_memory`], or [`copy_memory`]). Note that `*src = foo`
/// [`write`]). Note that `*src = foo`
/// counts as a use because it will attempt to drop the value previously at
/// `*src`.
///
/// [`Copy`]: ../marker/trait.Copy.html
/// [`write`]: fn.write.html
/// [`zero_memory`]: fn.zero_memory.html
/// [`copy_memory`]: fn.copy_memory.html
///
/// # Examples
///
Expand Down Expand Up @@ -215,14 +213,12 @@ pub unsafe fn write<T>(dst: *mut T, src: T) {
/// moves the value out of `src` without preventing further usage of `src`. If
/// `T` is not [`Copy`], then care must be taken to ensure that the value at
/// `src` is not used before the data is overwritten again (e.g. with
/// [`write`], [`zero_memory`], or [`copy_memory`]). Note that `*src = foo`
/// [`write`]). Note that `*src = foo`
/// counts as a use because it will attempt to drop the value previously at
/// `*src`.
///
/// [`Copy`]: ../marker/trait.Copy.html
/// [`write`]: fn.write.html
/// [`zero_memory`]: fn.zero_memory.html
/// [`copy_memory`]: fn.copy_memory.html
///
/// # Examples
///
Expand Down

0 comments on commit b5ce02c

Please sign in to comment.