Fix broken relative links

This commit is contained in:
Dylan MacKenzie 2018-04-07 20:45:16 -07:00
parent 422b6164e5
commit d7ce9a213c
2 changed files with 8 additions and 8 deletions

View File

@ -992,11 +992,11 @@ extern "rust-intrinsic" {
///
/// * The two regions of memory must *not* overlap.
///
/// Additionally, if `T` is not [`Copy`](../marker/trait.Copy), only the
/// region at `src` *or* the region at `dst` can be used or dropped after
/// calling `copy_nonoverlapping`. `copy_nonoverlapping` creates bitwise
/// copies of `T`, regardless of whether `T: Copy`, which can result in
/// undefined behavior if both copies are used.
/// Additionally, if `T` is not [`Copy`](../marker/trait.Copy.html), only
/// the region at `src` *or* the region at `dst` can be used or dropped
/// after calling `copy_nonoverlapping`. `copy_nonoverlapping` creates
/// bitwise copies of `T`, regardless of whether `T: Copy`, which can result
/// in undefined behavior if both copies are used.
///
/// # Examples
///
@ -1043,7 +1043,7 @@ extern "rust-intrinsic" {
/// assert!(b.is_empty());
/// ```
///
/// [`Vec::append()`]: ../vec/struct.Vec.html#method.append
/// [`Vec::append`]: ../../std/vec/struct.Vec.html#method.append
#[stable(feature = "rust1", since = "1.0.0")]
pub fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize);

View File

@ -50,7 +50,7 @@ pub use intrinsics::write_bytes;
/// as the compiler doesn't need to prove that it's sound to elide the
/// copy.
///
/// [`ptr::read`]: ./fn.read.html
/// [`ptr::read`]: ../ptr/fn.read.html
///
/// # Safety
///
@ -72,7 +72,7 @@ pub use intrinsics::write_bytes;
/// dropped.
///
/// [`Copy`]: ../marker/trait.Copy.html
/// [`write`]: ./fn.write.html
/// [`write`]: ../ptr/fn.write.html
///
/// # Examples
///