Skip to content

Commit bc37b8f

Browse files
committed
auto merge of #13103 : mozilla-servo/rust/url-totaleq, r=alexcrichton
2 parents 903e838 + aa39d75 commit bc37b8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liburl/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ use collections::HashMap;
4848
/// fragment: Some(~"quz") };
4949
/// // https://[email protected]:8080/foo/bar?baz=qux#quz
5050
/// ```
51-
#[deriving(Clone, Eq)]
51+
#[deriving(Clone, Eq, TotalEq)]
5252
pub struct Url {
5353
/// The scheme part of a URL, such as `https` in the above example.
5454
scheme: ~str,
@@ -79,7 +79,7 @@ pub struct Path {
7979
}
8080

8181
/// An optional subcomponent of a URI authority component.
82-
#[deriving(Clone, Eq)]
82+
#[deriving(Clone, Eq, TotalEq)]
8383
pub struct UserInfo {
8484
/// The user name.
8585
user: ~str,

0 commit comments

Comments
 (0)