提交 6f991a24 编写于 作者: B bors

auto merge of #9506 : sfackler/rust/visibility, r=alexcrichton

......@@ -21,7 +21,7 @@
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>
}
......
......@@ -128,7 +128,7 @@ fn inner_mut_ref<'a>(&'a mut self) -> &'a mut ~[u8] {
/// Writes to a fixed-size byte slice
struct BufWriter<'self> {
pub struct BufWriter<'self> {
buf: &'self mut [u8],
pos: uint
}
......@@ -156,7 +156,7 @@ fn seek(&mut self, _pos: i64, _style: SeekStyle) { fail!() }
/// Reads from a fixed-size byte slice
struct BufReader<'self> {
pub struct BufReader<'self> {
buf: &'self [u8],
pos: uint
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册