Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
b1ek committed Dec 24, 2024
1 parent 2e355da commit 6ef629c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/modules/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ impl Type {
}

pub fn is_array(&self) -> bool {
match self {
Type::Array(_) => true,
_ => false,
}
matches!(self, Type::Array(_))
}
}

Expand Down

0 comments on commit 6ef629c

Please sign in to comment.