about summary refs log tree commit diff
path: root/src/libcore/to_str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/to_str.rs')
-rw-r--r--src/libcore/to_str.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libcore/to_str.rs b/src/libcore/to_str.rs
index 13b09590b44..51205b0c647 100644
--- a/src/libcore/to_str.rs
+++ b/src/libcore/to_str.rs
@@ -24,18 +24,6 @@ use vec;
 
 pub trait ToStr { pub pure fn to_str() -> ~str; }
 
-impl float: ToStr {
-    #[inline(always)]
-    pure fn to_str() -> ~str { ::float::to_str(self, 4u) }
-}
-impl f32: ToStr {
-    #[inline(always)]
-    pure fn to_str() -> ~str { ::float::to_str(self as float, 4u) }
-}
-impl f64: ToStr {
-    #[inline(always)]
-    pure fn to_str() -> ~str { ::float::to_str(self as float, 4u) }
-}
 impl bool: ToStr {
     #[inline(always)]
     pure fn to_str() -> ~str { ::bool::to_str(self) }