This commit is contained in:
stelzo 2025-04-26 12:19:18 +02:00
parent 0e3b34b668
commit 88ed94b282
No known key found for this signature in database
GPG Key ID: FC4EF89052319374
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ fn struct_field_rename_array(input: &DeriveInput) -> Vec<String> {
panic!("expected `name` attribute");
}
});
if let Err(err) = res {
panic!("Error parsing attribute: {}", err);
if let Err(e) = res {
panic!("Error parsing attribute: {e}");
}
}
});