Skip to content

Commit 4c196c2

Browse files
tbu-alexcrichton
authored andcommitted
Fix deprecation commment on core::cmp::lexical_ordering
1 parent 4562803 commit 4c196c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl PartialOrd for Ordering {
149149
/// If the first ordering is different, the first ordering is all that must be returned.
150150
/// If the first ordering is equal, then second ordering is returned.
151151
#[inline]
152-
#[deprecated = "Just call .cmp() on an Ordering"]
152+
#[deprecated = "Just call .cmp() on a tuple"]
153153
pub fn lexical_ordering(o1: Ordering, o2: Ordering) -> Ordering {
154154
match o1 {
155155
Equal => o2,

0 commit comments

Comments
 (0)