about summary refs log tree commit diff
path: root/src/libsemver/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsemver/lib.rs')
-rw-r--r--src/libsemver/lib.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs
index d03d230d8bf..4c596b11ad6 100644
--- a/src/libsemver/lib.rs
+++ b/src/libsemver/lib.rs
@@ -38,7 +38,6 @@ use std::cmp;
 use std::fmt;
 use std::fmt::Show;
 use std::option::{Option, Some, None};
-use std::to_str::ToStr;
 
 /// An identifier in the pre-release or build metadata. If the identifier can
 /// be parsed as a decimal value, it will be represented with `Numeric`.
@@ -71,13 +70,6 @@ impl fmt::Show for Identifier {
     }
 }
 
-impl ToStr for Identifier {
-    #[inline]
-    fn to_str(&self) -> ~str {
-        format!("{}", *self)
-    }
-}
-
 
 /// Represents a version number conforming to the semantic versioning scheme.
 #[deriving(Clone, Eq)]
@@ -118,13 +110,6 @@ impl fmt::Show for Version {
     }
 }
 
-impl ToStr for Version {
-    #[inline]
-    fn to_str(&self) -> ~str {
-        format!("{}", *self)
-    }
-}
-
 impl cmp::Ord for Version {
     #[inline]
     fn lt(&self, other: &Version) -> bool {