mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(deps): upgrade syn 2.0 (#1910)
This commit is contained in:
@ -119,7 +119,7 @@ fn load_field(field: &syn::Field, fields: &mut FieldList, is_enum: bool) {
|
||||
} else {
|
||||
let should_compact = is_flag_type(&ftype) ||
|
||||
field.attrs.iter().any(|attr| {
|
||||
attr.path.segments.iter().any(|path| path.ident == "maybe_zero")
|
||||
attr.path().segments.iter().any(|path| path.ident == "maybe_zero")
|
||||
});
|
||||
|
||||
fields.push(FieldTypes::StructField((
|
||||
|
||||
Reference in New Issue
Block a user