mirror of
https://github.com/rust-lang/rust
synced 2024-10-03 07:14:34 +00:00
Fix some links in str docs
This commit is contained in:
parent
0fcf4710e9
commit
1fe2a77dd8
|
@ -640,7 +640,7 @@ pub fn split_at_mut(&mut self, mid: usize) -> (&mut str, &mut str) {
|
||||||
/// Value, and may not match your idea of what a 'character' is. Iteration
|
/// Value, and may not match your idea of what a 'character' is. Iteration
|
||||||
/// over grapheme clusters may be what you actually want.
|
/// over grapheme clusters may be what you actually want.
|
||||||
///
|
///
|
||||||
/// [`char`]: ../primitive.char.html
|
/// [`char`]: primitive.char.html
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -1551,7 +1551,7 @@ pub fn trim_right(&self) -> &str {
|
||||||
/// The pattern can be a `&str`, [`char`], or a closure that determines
|
/// The pattern can be a `&str`, [`char`], or a closure that determines
|
||||||
/// if a character matches.
|
/// if a character matches.
|
||||||
///
|
///
|
||||||
/// [`char`]: primtive.char.html
|
/// [`char`]: primitive.char.html
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
@ -1643,7 +1643,7 @@ pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &'a str
|
||||||
///
|
///
|
||||||
/// `parse()` can parse any type that implements the [`FromStr`] trait.
|
/// `parse()` can parse any type that implements the [`FromStr`] trait.
|
||||||
///
|
///
|
||||||
/// [`FromStr`]: trait.FromStr.html
|
/// [`FromStr`]: str/trait.FromStr.html
|
||||||
///
|
///
|
||||||
/// # Failure
|
/// # Failure
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue