Skip to content

Commit f47dab9

Browse files
committed
---
yaml --- r: 55284 b: refs/heads/master c: 84c296b h: refs/heads/master v: v3
1 parent 1b57083 commit f47dab9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 17ab718d5989762d6ddf1a7ad02c1e64a9ae7f1a
2+
refs/heads/master: 84c296b27d3324b419e54bb5c899bd1fdc1f1008
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
55
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a

trunk/src/libstd/net_url.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use core::to_str::ToStr;
2525
use core::to_str;
2626
use core::uint;
2727

28-
#[deriving(Eq)]
28+
#[deriving(Clone, Eq)]
2929
struct Url {
3030
scheme: ~str,
3131
user: Option<UserInfo>,
@@ -36,7 +36,7 @@ struct Url {
3636
fragment: Option<~str>
3737
}
3838

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

401-
#[deriving(Eq)]
401+
#[deriving(Clone, Eq)]
402402
enum Input {
403403
Digit, // all digits
404404
Hex, // digits and letters a-f

0 commit comments

Comments
 (0)