about summary refs log tree commit diff
path: root/src/libnum/lib.rs
diff options
context:
space:
mode:
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