]> git.lizzy.rs Git - rust.git/blobdiff - src/libcollections/str.rs
Fix some broken and missing links in the docs
[rust.git] / src / libcollections / str.rs
index f3bdb0efeef1d82bf72a2e92d76c4d2b43731a9c..766867f284ee1f0c0e5148f7a650b08272501669 100644 (file)
@@ -1384,7 +1384,7 @@ pub fn matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> Matches<'a, P> {
     ///
     /// For iterating from the front, the [`matches()`] method can be used.
     ///
-    /// [`matches`]: #method.matches
+    /// [`matches()`]: #method.matches
     ///
     /// # Examples
     ///