Skip to content

Commit

Permalink
Clippy fixes 1.79
Browse files Browse the repository at this point in the history
  • Loading branch information
psvri committed Jun 15, 2024
1 parent ba14a9e commit b5a6efe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion crates/arithmetic/src/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ mod tests {
let device = Arc::new(GpuDevice::new());
let gpu_array = Float32ArrayGPU::from_slice(
&(0..1024 * 1024 * 10)
.into_iter()
.map(|x| x as f32)
.collect::<Vec<f32>>(),
device.clone(),
Expand Down
2 changes: 1 addition & 1 deletion crates/logical/src/boolean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl LogicalContains for BooleanArrayGPU {
}

fn all(&self) -> bool {
const COUNT_ONE_BITS_SHADER: &'static str =
const COUNT_ONE_BITS_SHADER: &str =
include_str!("../compute_shaders/u32/countbitones.wgsl");

let mut pipeline = ArrowComputePipeline::new(self.get_gpu_device(), Some("all"));
Expand Down
7 changes: 1 addition & 6 deletions crates/trigonometry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,5 @@ dyn_fn!(
Int16ArrayGPU,
Int8ArrayGPU
],
[
acos_dyn,
acos_op_dyn,
acos_op,
Float32ArrayGPU
]
[acos_dyn, acos_op_dyn, acos_op, Float32ArrayGPU]
);

0 comments on commit b5a6efe

Please sign in to comment.