default_value doesn't need to be public
This commit is contained in:
parent
2c24be90d2
commit
8ca1b9ac3c
@ -50,7 +50,7 @@ fn rename<'a>(
|
||||
}
|
||||
}
|
||||
|
||||
pub fn default_value(mi: &ast::MetaItem) -> bool {
|
||||
fn default_value(mi: &ast::MetaItem) -> bool {
|
||||
if let ast::MetaItem_::MetaWord(ref n) = mi.node {
|
||||
n == &"default"
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user