Skip to content

Commit

Permalink
Remove qualification of std::cmp::Ordering in Ord doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan authored and gitbot committed Mar 3, 2025
1 parent 4eb5e67 commit bd694d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ impl<T: Clone> Clone for Reverse<T> {
/// }
///
/// impl Ord for Character {
/// fn cmp(&self, other: &Self) -> std::cmp::Ordering {
/// fn cmp(&self, other: &Self) -> Ordering {
/// self.experience
/// .cmp(&other.experience)
/// .then(self.health.cmp(&other.health))
Expand Down

0 comments on commit bd694d6

Please sign in to comment.