Skip to content

Commit

Permalink
Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in…
Browse files Browse the repository at this point in the history
…-Ord-trait-docs, r=Noratrieb

Remove qualification of `std::cmp::Ordering` in `Ord` doc
  • Loading branch information
matthiaskrgr authored Jan 1, 2025
2 parents fa5acdc + cdd55bf commit fac31a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/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 fac31a1

Please sign in to comment.