From 9030e7c761cec97478c99a86571cc6aa31e54387 Mon Sep 17 00:00:00 2001 From: Tobias Bucher <tobiasbucher5991@gmail.com> Date: Wed, 30 Jul 2014 13:17:12 +0200 Subject: [PATCH] Fix deprecation commment on `core::cmp::lexical_ordering` --- src/libcore/cmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 8db59bd370e76..3f739b86a1b09 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -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,