Skip to content

Commit e92b943

Browse files
committed
---
yaml --- r: 21572 b: refs/heads/snap-stage3 c: 68704e4 h: refs/heads/master v: v3
1 parent 66b781e commit e92b943

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,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f393100b7ce86e0c1201f003c2d69fb9ea742db1
4+
refs/heads/snap-stage3: 68704e4ca7b1bf0482de59245ca20a18f5be2c0e
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libstd/net_url.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ export encode, decode;
1414
export encode_component, decode_component;
1515
export encode_form_urlencoded, decode_form_urlencoded;
1616

17-
type Url = {
17+
struct Url {
1818
scheme: ~str,
1919
user: Option<UserInfo>,
2020
host: ~str,
2121
port: Option<~str>,
2222
path: ~str,
2323
query: Query,
2424
fragment: Option<~str>
25-
};
25+
}
2626

2727
type UserInfo = {
2828
user: ~str,
@@ -34,7 +34,7 @@ type Query = ~[(~str, ~str)];
3434
fn url(-scheme: ~str, -user: Option<UserInfo>, -host: ~str,
3535
-port: Option<~str>, -path: ~str, -query: Query,
3636
-fragment: Option<~str>) -> Url {
37-
{ scheme: scheme, user: user, host: host, port: port,
37+
Url { scheme: scheme, user: user, host: host, port: port,
3838
path: path, query: query, fragment: fragment }
3939
}
4040

0 commit comments

Comments
 (0)