diff options
| author | gifnksm <makoto.nksm@gmail.com> | 2013-05-02 20:20:22 +0900 |
|---|---|---|
| committer | gifnksm <makoto.nksm@gmail.com> | 2013-05-02 20:42:54 +0900 |
| commit | cff6aba76ea01888854a87bdd4c1f71aada8d250 (patch) | |
| tree | aa7f0b125c65a4554e7160f3f0b07f4f7400883c /src/libstd/num | |
| parent | 5458d7dddda38f063220a19191373faecf11065f (diff) | |
| download | rust-cff6aba76ea01888854a87bdd4c1f71aada8d250.tar.gz rust-cff6aba76ea01888854a87bdd4c1f71aada8d250.zip | |
libcore: Export core::from_str::FromStr from core::prelude
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/bigint.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/num/bigint.rs b/src/libstd/num/bigint.rs index e2a336027fd..497ce7f41aa 100644 --- a/src/libstd/num/bigint.rs +++ b/src/libstd/num/bigint.rs @@ -21,7 +21,6 @@ A BigInt is a combination of BigUint and Sign. use core::cmp::{Eq, Ord, TotalEq, TotalOrd, Ordering, Less, Equal, Greater}; use core::num::{IntConvertible, Zero, One, ToStrRadix, FromStrRadix}; -use core::*; /** A BigDigit is a BigUint's composing element. @@ -141,7 +140,7 @@ impl ToStr for BigUint { fn to_str(&self) -> ~str { self.to_str_radix(10) } } -impl from_str::FromStr for BigUint { +impl FromStr for BigUint { #[inline(always)] fn from_str(s: &str) -> Option<BigUint> { FromStrRadix::from_str_radix(s, 10) @@ -785,7 +784,7 @@ impl ToStr for BigInt { fn to_str(&self) -> ~str { self.to_str_radix(10) } } -impl from_str::FromStr for BigInt { +impl FromStr for BigInt { #[inline(always)] fn from_str(s: &str) -> Option<BigInt> { FromStrRadix::from_str_radix(s, 10) |
