Skip to content

Some struct visibility fixes #9506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 26, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libextra/url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -32,7 +32,7 @@ struct Url {
}

#[deriving(Clone, Eq)]
struct UserInfo {
pub struct UserInfo {
user: ~str,
pass: Option<~str>
}
Expand Down
4 changes: 2 additions & 2 deletions src/libstd/rt/io/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down