default_value doesn't need to be public

This commit is contained in:
Erick Tryzelaar 2015-05-17 23:04:58 -07:00
parent 2c24be90d2
commit 8ca1b9ac3c

View File

@ -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 {