diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-06-28 14:05:10 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-06-30 09:19:25 -0700 |
| commit | d3155faedee97cb916735573fbf067d6305ee730 (patch) | |
| tree | c7fe8365b82802cb8c634500f6444896014e0286 /src/libstd/char.rs | |
| parent | 8fe6fc11de4d6bfbffd8b961f5f1f24a338601d5 (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.rs | 2 |
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}; |
