Skip to content

Commit 6f991a2

Browse files
committed
auto merge of #9506 : sfackler/rust/visibility, r=alexcrichton
2 parents 0f9bcaf + d8957e6 commit 6f991a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libextra/url.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use std::to_bytes;
2121
use std::uint;
2222

2323
#[deriving(Clone, Eq)]
24-
struct Url {
24+
pub struct Url {
2525
scheme: ~str,
2626
user: Option<UserInfo>,
2727
host: ~str,
@@ -32,7 +32,7 @@ struct Url {
3232
}
3333

3434
#[deriving(Clone, Eq)]
35-
struct UserInfo {
35+
pub struct UserInfo {
3636
user: ~str,
3737
pass: Option<~str>
3838
}

src/libstd/rt/io/mem.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl Decorator<~[u8]> for MemReader {
128128

129129

130130
/// Writes to a fixed-size byte slice
131-
struct BufWriter<'self> {
131+
pub struct BufWriter<'self> {
132132
buf: &'self mut [u8],
133133
pos: uint
134134
}
@@ -156,7 +156,7 @@ impl<'self> Seek for BufWriter<'self> {
156156

157157

158158
/// Reads from a fixed-size byte slice
159-
struct BufReader<'self> {
159+
pub struct BufReader<'self> {
160160
buf: &'self [u8],
161161
pos: uint
162162
}

0 commit comments

Comments
 (0)