xso-proc: Fix all clippy warnings
This commit is contained in:
parent
b18385cfff
commit
4356cab33c
5 changed files with 8 additions and 11 deletions
|
|
@ -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 { .. })
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue