From a0069681853c9f37daf685e69b6fc33bbf813268 Mon Sep 17 00:00:00 2001 From: Zbigniew Siciarz Date: Tue, 23 Dec 2014 17:12:57 +0100 Subject: [PATCH] Fix Ordering import --- src/bigint.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bigint.rs b/src/bigint.rs index 9fa4c0f..67b928c 100644 --- a/src/bigint.rs +++ b/src/bigint.rs @@ -1580,7 +1580,7 @@ mod biguint_tests { use super::{BigInt, RandBigInt, ToBigInt}; use super::Sign::Plus; - use std::cmp::{Less, Equal, Greater}; + use std::cmp::Ordering::{Less, Equal, Greater}; use std::str::FromStr; use std::i64; use std::num::FromStrRadix; @@ -2446,7 +2446,7 @@ mod bigint_tests { use super::{Sign, BigInt, RandBigInt, ToBigInt}; use super::Sign::{Minus, NoSign, Plus}; - use std::cmp::{Less, Equal, Greater}; + use std::cmp::Ordering::{Less, Equal, Greater}; use std::i64; use std::num::FromStrRadix; use std::num::{ToPrimitive, FromPrimitive};