Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/libstd/net_url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use core::to_str::ToStr;
use core::to_str;
use core::uint;

#[deriving(Eq)]
#[deriving(Clone, Eq)]
struct Url {
scheme: ~str,
user: Option<UserInfo>,
Expand All @@ -36,7 +36,7 @@ struct Url {
fragment: Option<~str>
}

#[deriving(Eq)]
#[deriving(Clone, Eq)]
struct UserInfo {
user: ~str,
pass: Option<~str>
Expand Down Expand Up @@ -398,7 +398,7 @@ pub fn get_scheme(rawurl: &str) -> Result<(~str, ~str), ~str> {
return Err(~"url: Scheme must be terminated with a colon.");
}

#[deriving(Eq)]
#[deriving(Clone, Eq)]
enum Input {
Digit, // all digits
Hex, // digits and letters a-f
Expand Down