We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10f145b commit 736b8bdCopy full SHA for 736b8bd
crates/derive-impl/src/pystructseq.rs
@@ -288,7 +288,9 @@ pub(crate) fn impl_pystruct_sequence_data(
288
let mut clean_struct = item_struct.clone();
289
if let syn::Fields::Named(ref mut fields) = clean_struct.fields {
290
for field in &mut fields.named {
291
- field.attrs.retain(|attr| !attr.path().is_ident("pystruct_sequence"));
+ field
292
+ .attrs
293
+ .retain(|attr| !attr.path().is_ident("pystruct_sequence"));
294
}
295
296
0 commit comments