formatting

This commit is contained in:
Christian Poveda
2022-05-19 09:02:50 -05:00
parent d839d2ecc2
commit 8227e69018

View File

@@ -354,7 +354,8 @@ impl SessionDiagnosticDeriveBuilder {
);
}
} else {
field.attrs
field
.attrs
.iter()
.map(move |attr| {
let name = attr.path.segments.last().unwrap().ident.to_string();