Intra doc links for str/mod.rs

This commit is contained in:
Alexis Bourget 2020-10-13 00:24:09 +02:00
parent 0bf4aafc54
commit 9c27ccff19

View File

@ -2252,9 +2252,9 @@ pub fn eq_ignore_ascii_case(&self, other: &str) -> bool {
/// but non-ASCII letters are unchanged.
///
/// To return a new uppercased value without modifying the existing one, use
/// [`to_ascii_uppercase`].
/// [`to_ascii_uppercase()`].
///
/// [`to_ascii_uppercase`]: #method.to_ascii_uppercase
/// [`to_ascii_uppercase()`]: prim@str::to_ascii_uppercase()
///
/// # Examples
///
@ -2279,9 +2279,9 @@ pub fn make_ascii_uppercase(&mut self) {
/// but non-ASCII letters are unchanged.
///
/// To return a new lowercased value without modifying the existing one, use
/// [`to_ascii_lowercase`].
/// [`to_ascii_lowercase()`].
///
/// [`to_ascii_lowercase`]: #method.to_ascii_lowercase
/// [`to_ascii_lowercase()`]: prim@str::to_ascii_lowercase()
///
/// # Examples
///