xso-proc: Fix all clippy warnings

This commit is contained in:
Emmanuel Gil Peyrot 2024-07-03 11:15:33 +02:00
commit 4356cab33c
5 changed files with 8 additions and 11 deletions

View file

@ -75,7 +75,7 @@ impl fmt::Display for FieldName<'_> {
pub(super) fn on_missing_attribute(parent_name: &ParentRef, field: &Member) -> String {
format!(
"Required attribute {} on {} missing.",
FieldName(&field),
FieldName(field),
parent_name
)
}