diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-02-23 12:29:42 +1100 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-24 21:22:26 -0800 |
| commit | 84a8893f19c4cf87355984c8d5fa604a5828161a (patch) | |
| tree | dcfe266d1345a2ac9ed233eee848c6943d497be6 /src/libnum | |
| parent | 3cc95314c31311138e189d2ad91bb537d034d3c1 (diff) | |
| download | rust-84a8893f19c4cf87355984c8d5fa604a5828161a.tar.gz rust-84a8893f19c4cf87355984c8d5fa604a5828161a.zip | |
Remove std::from_str::FromStr from the prelude
Diffstat (limited to 'src/libnum')
| -rw-r--r-- | src/libnum/bigint.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libnum/bigint.rs b/src/libnum/bigint.rs index 894b3794581..cb3faca017b 100644 --- a/src/libnum/bigint.rs +++ b/src/libnum/bigint.rs @@ -20,6 +20,7 @@ use Integer; use std::cmp; use std::fmt; +use std::from_str::FromStr; use std::num::{Bitwise, ToPrimitive, FromPrimitive}; use std::num::{Zero, One, ToStrRadix, FromStrRadix}; use std::rand::Rng; @@ -1397,6 +1398,7 @@ mod biguint_tests { use super::{Plus, BigInt, RandBigInt, ToBigInt}; use std::cmp::{Less, Equal, Greater}; + use std::from_str::FromStr; use std::i64; use std::num::{Zero, One, FromStrRadix}; use std::num::{ToPrimitive, FromPrimitive}; |
