Skip to content

Commit 736b8bd

Browse files
Auto-format: cargo fmt --all
1 parent 10f145b commit 736b8bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/derive-impl/src/pystructseq.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ pub(crate) fn impl_pystruct_sequence_data(
288288
let mut clean_struct = item_struct.clone();
289289
if let syn::Fields::Named(ref mut fields) = clean_struct.fields {
290290
for field in &mut fields.named {
291-
field.attrs.retain(|attr| !attr.path().is_ident("pystruct_sequence"));
291+
field
292+
.attrs
293+
.retain(|attr| !attr.path().is_ident("pystruct_sequence"));
292294
}
293295
}
294296

0 commit comments

Comments
 (0)