about summary refs log tree commit diff
path: root/src/libnum/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-30 21:21:39 -0700
committerbors <bors@rust-lang.org>2014-05-30 21:21:39 -0700
commit60a43f9bc5d24b47aae9681fc7ef47d517329e59 (patch)
treec0e46f35c6d6482996e6b10eaf635201b51e82d4 /src/libnum/lib.rs
parentcc4513202d6f9c6896054ebaa1d99230b06e9f10 (diff)
parentbb96ee6123082908dba86cb22344f0c23915bf06 (diff)
downloadrust-60a43f9bc5d24b47aae9681fc7ef47d517329e59.tar.gz
rust-60a43f9bc5d24b47aae9681fc7ef47d517329e59.zip
auto merge of #14534 : alexcrichton/rust/snapshots, r=sfackler
This is part 2 of the saga of renaming the Partial/Total equality and comparison traits.
Diffstat (limited to 'src/libnum/lib.rs')
-rw-r--r--src/libnum/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnum/lib.rs b/src/libnum/lib.rs
index d42c197cab7..29cf769ffc9 100644
--- a/src/libnum/lib.rs
+++ b/src/libnum/lib.rs
@@ -60,7 +60,7 @@ pub mod bigint;
 pub mod rational;
 pub mod complex;
 
-pub trait Integer: Num + Ord
+pub trait Integer: Num + PartialOrd
                  + Div<Self, Self>
                  + Rem<Self, Self> {
     /// Simultaneous truncated integer division and modulus