File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2288,8 +2288,8 @@ pub mod farm {
2288
2288
}
2289
2289
2290
2290
impl Farm {
2291
- priv fn feed_chickens(&self) { ... }
2292
- priv fn feed_cows(&self) { ... }
2291
+ fn feed_chickens(&self) { ... }
2292
+ fn feed_cows(&self) { ... }
2293
2293
pub fn add_chicken(&self, c: Chicken) { ... }
2294
2294
}
2295
2295
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ mod test {
202
202
let doc = mk_doc(
203
203
~" impl Foo { \
204
204
pub fn bar ( ) { } \
205
- priv fn baz ( ) { } \
205
+ fn baz ( ) { } \
206
206
} ");
207
207
assert_eq!(doc.cratemod().impls()[0].methods.len(), 1);
208
208
}
@@ -212,7 +212,7 @@ mod test {
212
212
let doc = mk_doc(
213
213
~" impl Foo { \
214
214
pub fn bar ( ) { } \
215
- priv fn baz ( ) { } \
215
+ fn baz ( ) { } \
216
216
} ");
217
217
assert_eq!(doc.cratemod().impls()[0].methods.len(), 1);
218
218
}
@@ -232,7 +232,7 @@ mod test {
232
232
let doc = mk_doc(
233
233
~" impl Foo { \
234
234
pub fn bar ( ) { } \
235
- priv fn baz ( ) { } \
235
+ fn baz ( ) { } \
236
236
} ");
237
237
assert_eq!(doc.cratemod().impls()[0].methods.len(), 1);
238
238
}
You can’t perform that action at this time.
0 commit comments