Skip to content

Commit

Permalink
fix: RistrettoBoth::partial_cmp according to clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nc7s committed Nov 8, 2023
1 parent c6e918d commit c63cdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl PartialEq<Self> for RistrettoBoth {

impl PartialOrd<RistrettoBoth> for RistrettoBoth {
fn partial_cmp(&self, other: &RistrettoBoth) -> Option<::core::cmp::Ordering> {
self.compressed.0.partial_cmp(&other.compressed.0)
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit c63cdef

Please sign in to comment.