]> git.lizzy.rs Git - rust.git/commitdiff
Fix broken relative links
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Sun, 8 Apr 2018 03:45:16 +0000 (20:45 -0700)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Sun, 8 Apr 2018 04:33:18 +0000 (21:33 -0700)
src/libcore/intrinsics.rs
src/libcore/ptr.rs

index daa43337fd79ca509246502db5780d13607c5733..8c510842c2a91659869c9bb591084fa5ac6da0e6 100644 (file)
     ///
     /// * 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
     ///
     /// 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);
 
index c679a1a2456b1637035c42f7257ad068a0cbb5ea..962fb0f31a407625207df356c87eb2ad5a8dd53b 100644 (file)
@@ -50,7 +50,7 @@
 ///   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 @@
 /// dropped.
 ///
 /// [`Copy`]: ../marker/trait.Copy.html
-/// [`write`]: ./fn.write.html
+/// [`write`]: ../ptr/fn.write.html
 ///
 /// # Examples
 ///