Skip to content

Commit d87c2b3

Browse files
committed
fix clippy
1 parent b826e3d commit d87c2b3

File tree

1 file changed

+1
-1
lines changed
  • optd-cost-model/src/cost

1 file changed

+1
-1
lines changed

optd-cost-model/src/cost/agg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl<S: CostModelStorageLayer> CostModelImpl<S> {
3737
let table_id = attr_ref.table_id();
3838
let attr_idx = attr_ref.attr_index();
3939
let stats_option =
40-
self.get_attribute_comb_stats(TableId(table_id), &vec![attr_idx])?;
40+
self.get_attribute_comb_stats(TableId(table_id), &[attr_idx])?;
4141

4242
let ndistinct = match stats_option {
4343
Some(stats) => stats.ndistinct,

0 commit comments

Comments
 (0)