diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index 9a93bb72903..07a5990e595 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs @@ -1666,7 +1666,7 @@ impl str { /// If the pattern allows a reverse search but its results might differ /// from a forward search, the [`rmatches`] method can be used. /// - /// [`rmatches`]: str::matches + /// [`rmatches`]: str::rmatches /// /// # Examples ///