about summary refs log tree commit diff
path: root/src/libstd/char.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-06-28 14:05:10 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-06-30 09:19:25 -0700
commitd3155faedee97cb916735573fbf067d6305ee730 (patch)
treec7fe8365b82802cb8c634500f6444896014e0286 /src/libstd/char.rs
parent8fe6fc11de4d6bfbffd8b961f5f1f24a338601d5 (diff)
Specialize to_str_common for floats/integers in strconv
This allows the integral paths to avoid allocations on the heap

Closes #4424, #4423
Diffstat (limited to 'src/libstd/char.rs')
-rw-r--r--src/libstd/char.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/char.rs b/src/libstd/char.rs
index 101ea67cf59..6a9555f4efc 100644
--- a/src/libstd/char.rs
+++ b/src/libstd/char.rs
@@ -10,8 +10,8 @@
 
 //! Utilities for manipulating the char type
 
-use container::Container;
 use option::{None, Option, Some};
+use int;
 use str::StrSlice;
 use unicode::{derived_property, general_category};