Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
Fix typo lints
Browse files Browse the repository at this point in the history
  • Loading branch information
rj00a committed May 2, 2024
1 parent 83fd4fc commit 59a3f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java_string/src/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ impl JavaStr {
///
/// assert_eq!(s.find('L'), Some(0));
/// assert_eq!(s.find('é'), Some(14));
/// assert_eq!(s.find("pard"), Some(17));
/// assert_eq!(s.find("par"), Some(17));
///
/// let x: &[_] = &['1', '2'];
/// assert_eq!(s.find(x), None);
Expand Down Expand Up @@ -735,7 +735,7 @@ impl JavaStr {
///
/// assert_eq!(s.rfind('L'), Some(13));
/// assert_eq!(s.rfind('é'), Some(14));
/// assert_eq!(s.rfind("pard"), Some(24));
/// assert_eq!(s.rfind("par"), Some(24));
///
/// let x: &[_] = &['1', '2'];
/// assert_eq!(s.rfind(x), None);
Expand Down

0 comments on commit 59a3f01

Please sign in to comment.