diff --git a/simulator/generation/table.rs b/simulator/generation/table.rs index 332aeb1f3..179c53436 100644 --- a/simulator/generation/table.rs +++ b/simulator/generation/table.rs @@ -41,11 +41,7 @@ impl Arbitrary for Column { impl Arbitrary for ColumnType { fn arbitrary(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() } }