Skip to content

Commit

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

Remove qualification of `std::cmp::Ordering` in `Ord` doc
  • Loading branch information
rust-timer authored Jan 2, 2025
2 parents 45d11e5 + cdd55bf commit 86128cd
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 86128cd

Please sign in to comment.