From 29a4e4a009a32094e85bb9867432d45a2e0edacd Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 28 Oct 2021 11:51:00 +0200 Subject: [PATCH] Fix incorrect doc link --- library/core/src/str/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index 607a0179ff4b9..7939ea3bb7fb2 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 ///