mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Fix broken relative links
This commit is contained in:
parent
422b6164e5
commit
d7ce9a213c
@ -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);
|
||||
|
||||
|
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user