Skip to content

Commit

Permalink
useless clipy allow ?
Browse files Browse the repository at this point in the history
  • Loading branch information
vic1707 committed Nov 25, 2023
1 parent 291b791 commit c1f91b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tests/parser/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ fn add(x: f64, y: f64) -> f64 {
x + y
}
const ADD: Function = xprs_fn!("add", add, 2);
#[allow(clippy::as_conversions, clippy::cast_precision_loss)]
fn mean(args: &[f64]) -> f64 {
args.iter().sum::<f64>() / args.len() as f64
}
Expand Down

0 comments on commit c1f91b2

Please sign in to comment.