Skip to content

Commit 9aede6b

Browse files
committed
fix clippy
Signed-off-by: Adam Gutglick <adamgsal@gmail.com>
1 parent 902b156 commit 9aede6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datafusion/datasource-parquet/benches/parquet_metadata_statistics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ fn make_array(
195195
}
196196

197197
fn nullable_value<T>(row: usize, value: T) -> Option<T> {
198-
(row % 7 != 0).then_some(value)
198+
(!row.is_multiple_of(7)).then_some(value)
199199
}
200200

201201
fn value(column_idx: usize, row_group: usize, row: usize) -> i64 {

0 commit comments

Comments
 (0)