mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 03:38:00 +00:00
default_value doesn't need to be public
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user