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

@ -350,9 +350,6 @@ impl FieldDef {
/// Return true if this field's parsing consumes text data.
pub(crate) fn is_text_field(&self) -> bool {
match self.kind {
FieldKind::Text { .. } => true,
_ => false,
}
matches!(self.kind, FieldKind::Text { .. })
}
}