about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Sloan <mgsloan@gmail.com>2024-12-31 14:29:03 -0700
committerMichael Sloan <mgsloan@gmail.com>2024-12-31 14:29:03 -0700
commitcdd55bfda250d115fdcd7b3f1462916bcaef9622 (patch)
treef05c0a867308a11508ecfa1300f752d1a081ae62
parentaea4e4370330388bf2906b79769d43e581d487b4 (diff)
downloadrust-cdd55bfda250d115fdcd7b3f1462916bcaef9622.tar.gz
rust-cdd55bfda250d115fdcd7b3f1462916bcaef9622.zip
Remove qualification of `std::cmp::Ordering` in `Ord` doc
-rw-r--r--library/core/src/cmp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs
index 5a3b9365cd2..97974d195fe 100644
--- a/library/core/src/cmp.rs
+++ b/library/core/src/cmp.rs
@@ -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))