We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
core::cmp::lexical_ordering
1 parent 4562803 commit 4c196c2Copy full SHA for 4c196c2
src/libcore/cmp.rs
@@ -149,7 +149,7 @@ impl PartialOrd for Ordering {
149
/// If the first ordering is different, the first ordering is all that must be returned.
150
/// If the first ordering is equal, then second ordering is returned.
151
#[inline]
152
-#[deprecated = "Just call .cmp() on an Ordering"]
+#[deprecated = "Just call .cmp() on a tuple"]
153
pub fn lexical_ordering(o1: Ordering, o2: Ordering) -> Ordering {
154
match o1 {
155
Equal => o2,
0 commit comments