chore: made clippy happy for all targets

This commit is contained in:
MaxOhn
2023-11-13 15:49:30 +01:00
parent e0d9616336
commit a20358a3b3
8 changed files with 25 additions and 26 deletions
+3 -2
View File
@@ -948,6 +948,7 @@ mod tests {
///
/// Very slow but accurate.
/// Only slight optimizations have been applied so that it doesn't run unreasonably long.
#[allow(clippy::too_many_arguments)]
fn brute_force_best(
acc: f64,
n320: Option<usize>,
@@ -1225,7 +1226,7 @@ mod tests {
fn hitresults_n320_n_misses_best() {
let (map, attrs) = test_data();
let state = ManiaPP::new(&map)
let state = ManiaPP::new(map)
.attributes(attrs)
.n320(500)
.n_misses(2)
@@ -1248,7 +1249,7 @@ mod tests {
fn hitresults_n100_n50_n_misses_worst() {
let (map, attrs) = test_data();
let state = ManiaPP::new(&map)
let state = ManiaPP::new(map)
.attributes(attrs)
.n100(200)
.n50(50)