made clippy happy

This commit is contained in:
MaxOhn
2022-06-21 07:38:50 +02:00
parent 80fe8aa238
commit d0db4a1775
6 changed files with 25 additions and 32 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ fn calculate_strain(params: ManiaStars<'_>) -> Strain {
clock_rate,
} = params;
let take = passed_objects.unwrap_or_else(|| map.hit_objects.len());
let take = passed_objects.unwrap_or(map.hit_objects.len());
let rounded_cs = map.cs.round();
let columns = match map.mode {