Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Dec 24, 2023
1 parent 3df5471 commit cf4caa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demo/gamevent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Eq for GameEventDefinition {}

impl PartialOrd for GameEventDefinition {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.id.partial_cmp(&other.id)
Some(self.id.cmp(&other.id))
}
}

Expand Down

0 comments on commit cf4caa0

Please sign in to comment.