Skip to content

Commit

Permalink
Fix clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
kskalski committed Oct 5, 2023
1 parent a5c77e2 commit 29eacbe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arrow-json/src/reader/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ impl InferredType {
}

fn is_none_or_any(ty: Option<&Self>) -> bool {
match ty {
Some(Self::Any) => true,
None => true,
_ => false,
}
matches!(ty, Some(Self::Any) | None)
}
}

Expand Down

0 comments on commit 29eacbe

Please sign in to comment.