Skip to content

Commit fac31a1

Browse files
authored
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
2 parents fa5acdc + cdd55bf commit fac31a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ impl<T: Clone> Clone for Reverse<T> {
796796
/// }
797797
///
798798
/// impl Ord for Character {
799-
/// fn cmp(&self, other: &Self) -> std::cmp::Ordering {
799+
/// fn cmp(&self, other: &Self) -> Ordering {
800800
/// self.experience
801801
/// .cmp(&other.experience)
802802
/// .then(self.health.cmp(&other.health))

0 commit comments

Comments
 (0)