Skip to content

Commit d30a491

Browse files
committed
---
yaml --- r: 150450 b: refs/heads/try2 c: 8093427 h: refs/heads/master v: v3
1 parent deb8435 commit d30a491

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 9aa4a949530afe44109568c40539da44f3d40ee9
8+
refs/heads/try2: 809342719541db989bee43e695f1d88b8340ac4e
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/liburl/lib.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,40 +51,40 @@ use collections::HashMap;
5151
#[deriving(Clone, Eq, TotalEq)]
5252
pub struct Url {
5353
/// The scheme part of a URL, such as `https` in the above example.
54-
scheme: ~str,
54+
pub scheme: ~str,
5555
/// A URL subcomponent for user authentication. `username` in the above example.
56-
user: Option<UserInfo>,
56+
pub user: Option<UserInfo>,
5757
/// A domain name or IP address. For example, `example.com`.
58-
host: ~str,
58+
pub host: ~str,
5959
/// A TCP port number, for example `8080`.
60-
port: Option<~str>,
60+
pub port: Option<~str>,
6161
/// The path component of a URL, for example `/foo/bar`.
62-
path: ~str,
62+
pub path: ~str,
6363
/// The query component of a URL. `vec!((~"baz", ~"qux"))` represents the
6464
/// fragment `baz=qux` in the above example.
65-
query: Query,
65+
pub query: Query,
6666
/// The fragment component, such as `quz`. Doesn't include the leading `#` character.
67-
fragment: Option<~str>
67+
pub fragment: Option<~str>
6868
}
6969

7070
#[deriving(Clone, Eq)]
7171
pub struct Path {
7272
/// The path component of a URL, for example `/foo/bar`.
73-
path: ~str,
73+
pub path: ~str,
7474
/// The query component of a URL. `vec!((~"baz", ~"qux"))` represents the
7575
/// fragment `baz=qux` in the above example.
76-
query: Query,
76+
pub query: Query,
7777
/// The fragment component, such as `quz`. Doesn't include the leading `#` character.
78-
fragment: Option<~str>
78+
pub fragment: Option<~str>
7979
}
8080

8181
/// An optional subcomponent of a URI authority component.
8282
#[deriving(Clone, Eq, TotalEq)]
8383
pub struct UserInfo {
8484
/// The user name.
85-
user: ~str,
85+
pub user: ~str,
8686
/// Password or other scheme-specific authentication information.
87-
pass: Option<~str>
87+
pub pass: Option<~str>
8888
}
8989

9090
/// Represents the query component of a URI.

0 commit comments

Comments
 (0)