Skip to content
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

Update to current rust: struct fields are private by default. #29

Merged
merged 1 commit into from Apr 5, 2014
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

8 lib.rs
@@ -32,10 +32,10 @@ pub enum ColorType {
}

pub struct Image {
width: u32,
height: u32,
color_type: ColorType,
pixels: ~[u8],
pub width: u32,
pub height: u32,
pub color_type: ColorType,
pub pixels: ~[u8],
}

// This intermediate data structure is used to read
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.