about summary refs log tree commit diff
path: root/src/liburl
diff options
context:
space:
mode:
Diffstat (limited to 'src/liburl')
-rw-r--r--src/liburl/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liburl/lib.rs b/src/liburl/lib.rs
index 482d7ca899b..5da6c5afe42 100644
--- a/src/liburl/lib.rs
+++ b/src/liburl/lib.rs
@@ -48,7 +48,7 @@ use std::uint;
 ///                 fragment: Some("quz".to_string()) };
 /// // https://username@example.com:8080/foo/bar?baz=qux#quz
 /// ```
-#[deriving(Clone, PartialEq, TotalEq)]
+#[deriving(Clone, PartialEq, Eq)]
 pub struct Url {
     /// The scheme part of a URL, such as `https` in the above example.
     pub scheme: String,
@@ -81,7 +81,7 @@ pub struct Path {
 }
 
 /// An optional subcomponent of a URI authority component.
-#[deriving(Clone, PartialEq, TotalEq)]
+#[deriving(Clone, PartialEq, Eq)]
 pub struct UserInfo {
     /// The user name.
     pub user: String,