about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2021-10-28 11:51:00 +0200
committerGitHub <noreply@github.com>2021-10-28 11:51:00 +0200
commit29a4e4a009a32094e85bb9867432d45a2e0edacd (patch)
tree77babd5693ec6e52ccd690168a84d9293f51f9a0
parent4e0d3973fafdfb1c51011bc74e44257b5e3863f1 (diff)
downloadrust-29a4e4a009a32094e85bb9867432d45a2e0edacd.tar.gz
rust-29a4e4a009a32094e85bb9867432d45a2e0edacd.zip
Fix incorrect doc link
-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
     ///