diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-10 14:19:26 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-15 23:22:06 -0700 |
| commit | c36525200240b1fae7e6871790b60aec856c2147 (patch) | |
| tree | 6d96d91abda197a879a023b6b8409d80d9a47879 /src/libstd/num/u32.rs | |
| parent | bcab97a32eca0bec431ff3d1065f07e10c600d80 (diff) | |
| download | rust-c36525200240b1fae7e6871790b60aec856c2147.tar.gz rust-c36525200240b1fae7e6871790b60aec856c2147.zip | |
std: Delegate some integer formatting to core::fmt
In an attempt to phase out the std::num::strconv module's string formatting functionality, this commit reimplements some provided methods for formatting integers on top of format!() instead of the custom (and slower) implementation inside of num::strconv. Primarily, this deprecates int_to_str_bytes_common
Diffstat (limited to 'src/libstd/num/u32.rs')
| -rw-r--r-- | src/libstd/num/u32.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/num/u32.rs b/src/libstd/num/u32.rs index 436eae7cd14..d549e4d0d63 100644 --- a/src/libstd/num/u32.rs +++ b/src/libstd/num/u32.rs @@ -15,7 +15,6 @@ use num::{ToStrRadix, FromStrRadix}; use num::strconv; use option::Option; use slice::ImmutableVector; -use str; pub use core::u32::{BITS, BYTES, MIN, MAX}; |
