Skip to content

Commit

Permalink
Fixed clippy warning redundant closure
Browse files Browse the repository at this point in the history
  • Loading branch information
Skielex committed Dec 18, 2024
1 parent 4f85027 commit 5b8eece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pco_cli/src/dtypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl Parquetable for f16 {
nums.iter().map(|x| x.to_f32()).collect()
}
fn parquet_to_nums(vec: Vec<f32>) -> Vec<Self> {
vec.into_iter().map(|x| f16::from_f32(x)).collect()
vec.into_iter().map(f16::from_f32).collect()
}
}

Expand Down

0 comments on commit 5b8eece

Please sign in to comment.