Skip to content

Commit ebf2366

Browse files
committed
---
yaml --- r: 28258 b: refs/heads/try c: 68704e4 h: refs/heads/master v: v3
1 parent dae12c4 commit ebf2366

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
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: f393100b7ce86e0c1201f003c2d69fb9ea742db1
5+
refs/heads/try: 68704e4ca7b1bf0482de59245ca20a18f5be2c0e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/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)