Skip to content

Commit cdd55bf

Browse files
committed
Remove qualification of std::cmp::Ordering in Ord doc
1 parent aea4e43 commit cdd55bf

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)