Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Dec 27, 2023
1 parent 60bcbde commit d119ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Eq for MacroNumber {}

impl PartialOrd for MacroNumber {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
self.0.get().partial_cmp(&other.0.get())
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit d119ea5

Please sign in to comment.