Fix some links in str docs

This commit is contained in:
Florian Hartwig 2015-12-26 12:16:48 +01:00
parent 0fcf4710e9
commit 1fe2a77dd8

View File

@ -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
///