Fix more priv fallout

This commit is contained in:
Corey Richardson 2013-08-08 17:02:03 -04:00
parent 86d581f83b
commit 878e74e1ce
2 changed files with 5 additions and 5 deletions

View File

@ -2288,8 +2288,8 @@ pub mod farm {
}
impl Farm {
priv fn feed_chickens(&self) { ... }
priv fn feed_cows(&self) { ... }
fn feed_chickens(&self) { ... }
fn feed_cows(&self) { ... }
pub fn add_chicken(&self, c: Chicken) { ... }
}

View File

@ -202,7 +202,7 @@ mod test {
let doc = mk_doc(
~"impl Foo {\
pub fn bar() { }\
priv fn baz() { }\
fn baz() { }\
}");
assert_eq!(doc.cratemod().impls()[0].methods.len(), 1);
}
@ -212,7 +212,7 @@ mod test {
let doc = mk_doc(
~"impl Foo {\
pub fn bar() { }\
priv fn baz() { }\
fn baz() { }\
}");
assert_eq!(doc.cratemod().impls()[0].methods.len(), 1);
}
@ -232,7 +232,7 @@ mod test {
let doc = mk_doc(
~"impl Foo {\
pub fn bar() { }\
priv fn baz() { }\
fn baz() { }\
}");
assert_eq!(doc.cratemod().impls()[0].methods.len(), 1);
}