Skip to content

Commit

Permalink
Fix clippy lint in crates/java_string/src/char.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rj00a committed Oct 6, 2023
1 parent b143f2c commit 67a7afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/java_string/src/char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ impl Ord for JavaCodePoint {
impl PartialOrd for JavaCodePoint {
#[inline]
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.as_u32().partial_cmp(&other.as_u32())
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit 67a7afb

Please sign in to comment.