std::from_str::FromStr -> std::str::FromStr
This commit is contained in:
parent
3568298a22
commit
29011d14d9
|
@ -41,7 +41,7 @@
|
||||||
extern crate num;
|
extern crate num;
|
||||||
extern crate test;
|
extern crate test;
|
||||||
|
|
||||||
use std::from_str::FromStr;
|
use std::str::FromStr;
|
||||||
use std::num::FromPrimitive;
|
use std::num::FromPrimitive;
|
||||||
|
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
|
|
|
@ -60,12 +60,10 @@ use rand::Rng;
|
||||||
|
|
||||||
use std::{cmp, fmt, hash};
|
use std::{cmp, fmt, hash};
|
||||||
use std::default::Default;
|
use std::default::Default;
|
||||||
use std::from_str::FromStr;
|
|
||||||
use std::iter::{AdditiveIterator, MultiplicativeIterator};
|
use std::iter::{AdditiveIterator, MultiplicativeIterator};
|
||||||
use std::num::{Int, ToPrimitive, FromPrimitive};
|
use std::num::{Int, ToPrimitive, FromPrimitive};
|
||||||
use std::num::FromStrRadix;
|
use std::num::FromStrRadix;
|
||||||
use std::str;
|
use std::str::{mod, FromStr};
|
||||||
use std::string::String;
|
|
||||||
use std::{i64, u64};
|
use std::{i64, u64};
|
||||||
|
|
||||||
use {Num, Unsigned, CheckedAdd, CheckedSub, CheckedMul, CheckedDiv, Signed, Zero, One};
|
use {Num, Unsigned, CheckedAdd, CheckedSub, CheckedMul, CheckedDiv, Signed, Zero, One};
|
||||||
|
@ -1476,7 +1474,7 @@ mod biguint_tests {
|
||||||
use super::{Plus, BigInt, RandBigInt, ToBigInt};
|
use super::{Plus, BigInt, RandBigInt, ToBigInt};
|
||||||
|
|
||||||
use std::cmp::{Less, Equal, Greater};
|
use std::cmp::{Less, Equal, Greater};
|
||||||
use std::from_str::FromStr;
|
use std::str::FromStr;
|
||||||
use std::i64;
|
use std::i64;
|
||||||
use std::num::FromStrRadix;
|
use std::num::FromStrRadix;
|
||||||
use std::num::{ToPrimitive, FromPrimitive};
|
use std::num::{ToPrimitive, FromPrimitive};
|
||||||
|
|
|
@ -14,7 +14,7 @@ use Integer;
|
||||||
|
|
||||||
use std::cmp;
|
use std::cmp;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::from_str::FromStr;
|
use std::str::FromStr;
|
||||||
use std::num::{FromStrRadix, Float};
|
use std::num::{FromStrRadix, Float};
|
||||||
use std::iter::{AdditiveIterator, MultiplicativeIterator};
|
use std::iter::{AdditiveIterator, MultiplicativeIterator};
|
||||||
|
|
||||||
|
@ -403,7 +403,7 @@ mod test {
|
||||||
|
|
||||||
use super::{Ratio, Rational, BigRational};
|
use super::{Ratio, Rational, BigRational};
|
||||||
use std::num::{FromPrimitive, Float};
|
use std::num::{FromPrimitive, Float};
|
||||||
use std::from_str::FromStr;
|
use std::str::FromStr;
|
||||||
use std::hash::hash;
|
use std::hash::hash;
|
||||||
use std::i32;
|
use std::i32;
|
||||||
use {Zero, One, Signed};
|
use {Zero, One, Signed};
|
||||||
|
|
Loading…
Reference in New Issue