about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-26 09:21:09 -0700
committerbors <bors@rust-lang.org>2013-09-26 09:21:09 -0700
commit6f991a24419b4d1f2c4a9d764e07777b6fb317f7 (patch)
tree4c7099a0d661b7d669e31284d9d17051eae3b5a6 /src
parent0f9bcaf7fe0cebf0d1be0e17025c0e3b76e14507 (diff)
parentd8957e6332224919d80e1518a850109308e4ce73 (diff)
downloadrust-6f991a24419b4d1f2c4a9d764e07777b6fb317f7.tar.gz
rust-6f991a24419b4d1f2c4a9d764e07777b6fb317f7.zip
auto merge of #9506 : sfackler/rust/visibility, r=alexcrichton
Diffstat (limited to 'src')
-rw-r--r--src/libextra/url.rs4
-rw-r--r--src/libstd/rt/io/mem.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libextra/url.rs b/src/libextra/url.rs
index ca1ce752faa..451b410833f 100644
--- a/src/libextra/url.rs
+++ b/src/libextra/url.rs
@@ -21,7 +21,7 @@ use std::to_bytes;
 use std::uint;
 
 #[deriving(Clone, Eq)]
-struct Url {
+pub struct Url {
     scheme: ~str,
     user: Option<UserInfo>,
     host: ~str,
@@ -32,7 +32,7 @@ struct Url {
 }
 
 #[deriving(Clone, Eq)]
-struct UserInfo {
+pub struct UserInfo {
     user: ~str,
     pass: Option<~str>
 }
diff --git a/src/libstd/rt/io/mem.rs b/src/libstd/rt/io/mem.rs
index 808e9f3a383..6d2a8a0d7e5 100644
--- a/src/libstd/rt/io/mem.rs
+++ b/src/libstd/rt/io/mem.rs
@@ -128,7 +128,7 @@ impl Decorator<~[u8]> for MemReader {
 
 
 /// Writes to a fixed-size byte slice
-struct BufWriter<'self> {
+pub struct BufWriter<'self> {
     buf: &'self mut [u8],
     pos: uint
 }
@@ -156,7 +156,7 @@ impl<'self> Seek for BufWriter<'self> {
 
 
 /// Reads from a fixed-size byte slice
-struct BufReader<'self> {
+pub struct BufReader<'self> {
     buf: &'self [u8],
     pos: uint
 }