Make url::Url derive TotalEq.
This commit is contained in:
parent
2ddb605654
commit
aa39d755e3
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ use collections::HashMap;
|
|||
/// fragment: Some(~"quz") };
|
||||
/// // https://username@example.com:8080/foo/bar?baz=qux#quz
|
||||
/// ```
|
||||
#[deriving(Clone, Eq)]
|
||||
#[deriving(Clone, Eq, TotalEq)]
|
||||
pub struct Url {
|
||||
/// The scheme part of a URL, such as `https` in the above example.
|
||||
scheme: ~str,
|
||||
|
@ -79,7 +79,7 @@ pub struct Path {
|
|||
}
|
||||
|
||||
/// An optional subcomponent of a URI authority component.
|
||||
#[deriving(Clone, Eq)]
|
||||
#[deriving(Clone, Eq, TotalEq)]
|
||||
pub struct UserInfo {
|
||||
/// The user name.
|
||||
user: ~str,
|
||||
|
|
Loading…
Reference in a new issue