Skip to content

Commit

Permalink
Rollup merge of #103154 - H4x5:reverse-searcher-typo, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Fix typo in `ReverseSearcher` docs
  • Loading branch information
JohnTitor authored Oct 18, 2022
2 parents 472a874 + 9a7e527 commit ba64378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/str/pattern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ba64378

Please sign in to comment.