Skip to content

Commit 2367f5b

Browse files
committed
Overtime events
1 parent 5febea4 commit 2367f5b

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

fuzz/fuzz_targets/file_io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fuzz_target!(|fuzz: FuzzFileAction| -> Corpus {
4242
let filtered = filter(&array_data, &mask).vortex_unwrap();
4343
projection_expr
4444
.clone()
45-
.unwrap_or_else(|| root())
45+
.unwrap_or_else(root)
4646
.evaluate(&Scope::new(filtered))
4747
.vortex_unwrap()
4848
};
@@ -69,7 +69,7 @@ fuzz_target!(|fuzz: FuzzFileAction| -> Corpus {
6969
.vortex_unwrap()
7070
.scan()
7171
.vortex_unwrap()
72-
.with_projection(projection_expr.unwrap_or_else(|| root()))
72+
.with_projection(projection_expr.unwrap_or_else(root))
7373
.with_some_filter(filter_expr)
7474
.into_array_iter(&*RUNTIME)
7575
.vortex_unwrap()

vortex-layout/src/gpu/layouts/struct_/reader.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,7 @@ impl GpuStructReader {
136136
// expression by replacing any `$.a` with `$`.
137137
return Partitioned::Single(
138138
partitioned.partition_names[0].clone(),
139-
replace(
140-
expr.clone(),
141-
&col(partitioned.partition_names[0].clone()),
142-
root(),
143-
),
139+
replace(expr, &col(partitioned.partition_names[0].clone()), root()),
144140
);
145141
}
146142

vortex-layout/src/layouts/struct_/reader.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,7 @@ impl StructReader {
154154
// expression by replacing any `$.a` with `$`.
155155
return Partitioned::Single(
156156
partitioned.partition_names[0].clone(),
157-
replace(
158-
expr.clone(),
159-
&col(partitioned.partition_names[0].clone()),
160-
root(),
161-
),
157+
replace(expr, &col(partitioned.partition_names[0].clone()), root()),
162158
);
163159
}
164160

0 commit comments

Comments
 (0)