about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Hartwig <florian.j.hartwig@gmail.com>2015-12-26 12:16:48 +0100
committerFlorian Hartwig <florian.j.hartwig@gmail.com>2015-12-26 12:16:48 +0100
commit1fe2a77dd8b8bf29bef0a527339a3dbe4d50b254 (patch)
tree4700115563a78e7372dd52d69c689177c0854a39
parent0fcf4710e9e4f84905b7dd6e9d4595454fd65bf7 (diff)
downloadrust-1fe2a77dd8b8bf29bef0a527339a3dbe4d50b254.tar.gz
rust-1fe2a77dd8b8bf29bef0a527339a3dbe4d50b254.zip
Fix some links in str docs
-rw-r--r--src/libcollections/str.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index 68669b68d29..92c23ef2f38 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -640,7 +640,7 @@ impl str {
     /// Value, and may not match your idea of what a 'character' is. Iteration
     /// over grapheme clusters may be what you actually want.
     ///
-    /// [`char`]: ../primitive.char.html
+    /// [`char`]: primitive.char.html
     ///
     /// # Examples
     ///
@@ -1551,7 +1551,7 @@ impl str {
     /// The pattern can be a `&str`, [`char`], or a closure that determines
     /// if a character matches.
     ///
-    /// [`char`]: primtive.char.html
+    /// [`char`]: primitive.char.html
     ///
     /// # Examples
     ///
@@ -1643,7 +1643,7 @@ impl str {
     ///
     /// `parse()` can parse any type that implements the [`FromStr`] trait.
     ///
-    /// [`FromStr`]: trait.FromStr.html
+    /// [`FromStr`]: str/trait.FromStr.html
     ///
     /// # Failure
     ///