Skip to content

Commit

Permalink
Rollup merge of #26692 - steveklabnik:gh26620, r=alexcrichton
Browse files Browse the repository at this point in the history
Fixes #26620
  • Loading branch information
steveklabnik committed Jun 30, 2015
2 parents 26ff471 + 8b81f76 commit 08f9b98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcore/cmp.rs
Expand Up @@ -166,6 +166,8 @@ impl Ordering {
///
/// - total and antisymmetric: exactly one of `a < b`, `a == b` or `a > b` is true; and
/// - transitive, `a < b` and `b < c` implies `a < c`. The same must hold for both `==` and `>`.
///
/// When this trait is `derive`d, it produces a lexicographic ordering.
#[stable(feature = "rust1", since = "1.0.0")]
pub trait Ord: Eq + PartialOrd<Self> {
/// This method returns an `Ordering` between `self` and `other`.
Expand Down

0 comments on commit 08f9b98

Please sign in to comment.