Skip to content

Commit

Permalink
fix: cmp ordering of dispense tracker entries (#53)
Browse files Browse the repository at this point in the history
Fixes comparison between entries of the dispense tracker
  • Loading branch information
MujkicA authored Feb 27, 2024
1 parent 35e7e12 commit cb887c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispense_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct Entry {

impl Ord for Entry {
fn cmp(&self, other: &Self) -> Ordering {
other.timestamp.cmp(&self.timestamp)
self.timestamp.cmp(&other.timestamp)
}
}

Expand Down

0 comments on commit cb887c9

Please sign in to comment.