about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexis Bourget <alexis.bourget@gmail.com>2020-10-13 00:24:09 +0200
committerAlexis Bourget <alexis.bourget@gmail.com>2020-11-30 21:18:55 +0100
commit9c27ccff1962a6a25992708f0d2d1f36a0ea4fa1 (patch)
tree3a0f82c98d1b81b0656da4d614b6c2173fb6cda2
parent0bf4aafc544845c8c888c5aac745d92282ece45f (diff)
downloadrust-9c27ccff1962a6a25992708f0d2d1f36a0ea4fa1.tar.gz
rust-9c27ccff1962a6a25992708f0d2d1f36a0ea4fa1.zip
Intra doc links for str/mod.rs
-rw-r--r--library/core/src/str/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs
index 604e317110c..c5a2a70c4f9 100644
--- a/library/core/src/str/mod.rs
+++ b/library/core/src/str/mod.rs
@@ -2252,9 +2252,9 @@ impl str {
     /// 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 @@ impl str {
     /// 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
     ///