Fix more priv fallout
This commit is contained in:
parent
86d581f83b
commit
878e74e1ce
2 changed files with 5 additions and 5 deletions
|
@ -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) { ... }
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue