mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 20:11:02 +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 {
|
if let ast::MetaItem_::MetaWord(ref n) = mi.node {
|
||||||
n == &"default"
|
n == &"default"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user