Skip to content

Commit 1fe2a77

Browse files
committed
Fix some links in str docs
1 parent 0fcf471 commit 1fe2a77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcollections/str.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ impl str {
640640
/// Value, and may not match your idea of what a 'character' is. Iteration
641641
/// over grapheme clusters may be what you actually want.
642642
///
643-
/// [`char`]: ../primitive.char.html
643+
/// [`char`]: primitive.char.html
644644
///
645645
/// # Examples
646646
///
@@ -1551,7 +1551,7 @@ impl str {
15511551
/// The pattern can be a `&str`, [`char`], or a closure that determines
15521552
/// if a character matches.
15531553
///
1554-
/// [`char`]: primtive.char.html
1554+
/// [`char`]: primitive.char.html
15551555
///
15561556
/// # Examples
15571557
///
@@ -1643,7 +1643,7 @@ impl str {
16431643
///
16441644
/// `parse()` can parse any type that implements the [`FromStr`] trait.
16451645
///
1646-
/// [`FromStr`]: trait.FromStr.html
1646+
/// [`FromStr`]: str/trait.FromStr.html
16471647
///
16481648
/// # Failure
16491649
///

0 commit comments

Comments
 (0)