about summary refs log tree commit diff
path: root/src/libcollections/string.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-07 10:27:52 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-07 10:27:52 -0800
commitb53e9f17d336bc3550ab2c5eda503bd9e719e94f (patch)
tree7faddc7360154edef97d224981749d955756d4af /src/libcollections/string.rs
parent2a8cb678e61e91c160d80794b5fdd723d0d4211c (diff)
downloadrust-b53e9f17d336bc3550ab2c5eda503bd9e719e94f.tar.gz
rust-b53e9f17d336bc3550ab2c5eda503bd9e719e94f.zip
Register new snapshots
Diffstat (limited to 'src/libcollections/string.rs')
-rw-r--r--src/libcollections/string.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index 59418f50e3c..507703c3a90 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -921,18 +921,6 @@ pub trait ToString {
     fn to_string(&self) -> String;
 }
 
-#[cfg(stage0)]
-impl<T: fmt::Show> ToString for T {
-    fn to_string(&self) -> String {
-        use core::fmt::Writer;
-        let mut buf = String::new();
-        let _ = buf.write_fmt(format_args!("{}", self));
-        buf.shrink_to_fit();
-        buf
-    }
-}
-
-#[cfg(not(stage0))]
 impl<T: fmt::String> ToString for T {
     fn to_string(&self) -> String {
         use core::fmt::Writer;