Skip to content

Commit

Permalink
auto merge of #5701 : metajack/rust/net-url-clone, r=thestinger
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Apr 3, 2013
2 parents 17ab718 + c4d2b79 commit 84c296b
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 84c296b

Please sign in to comment.