about summary refs log tree commit diff
path: root/library/core
diff options
context:
space:
mode:
authorSky <sky@h4x5.dev>2022-10-17 13:14:15 -0400
committerGitHub <noreply@github.com>2022-10-17 13:14:15 -0400
commit9a7e527e28448fcfe589ef4ce9c3d753382a6f20 (patch)
treef621475e6918cf322d1b584a9ad814fd09890a57 /library/core
parenta9d1cafa878ecc04a4aa7aaa7df0414a29a2bd0b (diff)
downloadrust-9a7e527e28448fcfe589ef4ce9c3d753382a6f20.tar.gz
rust-9a7e527e28448fcfe589ef4ce9c3d753382a6f20.zip
Fix typo in `ReverseSearcher` docs
Diffstat (limited to 'library/core')
-rw-r--r--library/core/src/str/pattern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/str/pattern.rs b/library/core/src/str/pattern.rs
index 031fb8e8b21..ec2cb429e67 100644
--- a/library/core/src/str/pattern.rs
+++ b/library/core/src/str/pattern.rs
@@ -267,7 +267,7 @@ pub unsafe trait Searcher<'a> {
 /// The index ranges returned by this trait are not required
 /// to exactly match those of the forward search in reverse.
 ///
-/// For the reason why this trait is marked unsafe, see them
+/// For the reason why this trait is marked unsafe, see the
 /// parent trait [`Searcher`].
 pub unsafe trait ReverseSearcher<'a>: Searcher<'a> {
     /// Performs the next search step starting from the back.