fix clippy warning

This commit is contained in:
alpaylan
2024-12-30 00:41:21 -05:00
parent 58f23983e1
commit d8ce88c057

View File

@@ -41,11 +41,7 @@ impl Arbitrary for Column {
impl Arbitrary for ColumnType {
fn arbitrary<R: Rng>(rng: &mut R) -> Self {
pick(
&vec![Self::Integer, Self::Float, Self::Text, Self::Blob],
rng,
)
.to_owned()
pick(&[Self::Integer, Self::Float, Self::Text, Self::Blob], rng).to_owned()
}
}