mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
auto merge of #13103 : mozilla-servo/rust/url-totaleq, r=alexcrichton
This commit is contained in:
+2
-2
@@ -48,7 +48,7 @@
|
||||
/// 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,
|
||||
|
||||
Reference in New Issue
Block a user