default_value doesn't need to be public

This commit is contained in:
Erick Tryzelaar committed 2015-05-18 22:49:49 -07:00
1 parent 2c24be90d2
commit 8ca1b9ac3c
1 file changed
+1 -1
+1 -1
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 {