syntax: Switch field privacy as necessary

This commit is contained in:
Alex Crichton
2014-03-27 15:39:48 -07:00
parent c034d0c854
commit 3c76f4ac8d
24 changed files with 297 additions and 297 deletions

View File

@@ -325,8 +325,8 @@ pub fn empty_generics() -> Generics {
#[deriving(Encodable, Decodable)]
pub struct IdRange {
min: NodeId,
max: NodeId,
pub min: NodeId,
pub max: NodeId,
}
impl IdRange {
@@ -352,9 +352,9 @@ pub trait IdVisitingOperation {
}
pub struct IdVisitor<'a, O> {
operation: &'a O,
pass_through_items: bool,
visited_outermost: bool,
pub operation: &'a O,
pub pass_through_items: bool,
pub visited_outermost: bool,
}
impl<'a, O: IdVisitingOperation> IdVisitor<'a, O> {