Skip to content

Commit

Permalink
Fix deprecation commment on core::cmp::lexical_ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
tbu- authored and alexcrichton committed Jul 31, 2014
1 parent 4562803 commit 4c196c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/cmp.rs
Expand Up @@ -149,7 +149,7 @@ impl PartialOrd for Ordering {
/// If the first ordering is different, the first ordering is all that must be returned.
/// If the first ordering is equal, then second ordering is returned.
#[inline]
#[deprecated = "Just call .cmp() on an Ordering"]
#[deprecated = "Just call .cmp() on a tuple"]
pub fn lexical_ordering(o1: Ordering, o2: Ordering) -> Ordering {
match o1 {
Equal => o2,
Expand Down

0 comments on commit 4c196c2

Please sign in to comment.