]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/str/mod.rs
Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtriplett
[rust.git] / library / core / src / str / mod.rs
index 2ae61d3a05c7a3c0e28942b5569a4231239252fe..9c76b350d8342142aa7ab7db3838467172514894 100644 (file)
@@ -1663,7 +1663,7 @@ pub fn rmatches<'a, P>(&'a self, pat: P) -> RMatches<'a, P>
     /// 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
     ///