about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-30 14:36:59 +0200
committerGitHub <noreply@github.com>2021-10-30 14:36:59 +0200
commit86087f906d4f50dd6ecf6e7e829ffe9ca7533b31 (patch)
tree11c3d48003c711540408a389cd890ca4b0616eac
parent20bb93210d1ae4331f8c66efff67ef3e84bd66a2 (diff)
parent29a4e4a009a32094e85bb9867432d45a2e0edacd (diff)
downloadrust-86087f906d4f50dd6ecf6e7e829ffe9ca7533b31.tar.gz
rust-86087f906d4f50dd6ecf6e7e829ffe9ca7533b31.zip
Rollup merge of #90371 - Veykril:patch-2, r=jyn514
Fix incorrect doc link

Looks like a copy paste mistake
-rw-r--r--library/core/src/str/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs
index 607a0179ff4..7939ea3bb7f 100644
--- a/library/core/src/str/mod.rs
+++ b/library/core/src/str/mod.rs
@@ -1663,7 +1663,7 @@ impl str {
     /// If the pattern allows a reverse search but its results might differ
     /// from a forward search, the [`rmatch_indices`] method can be used.
     ///
-    /// [`rmatch_indices`]: str::match_indices
+    /// [`rmatch_indices`]: str::rmatch_indices
     ///
     /// # Examples
     ///