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
@@ -169,7 +169,7 @@ fn calculate_skills(params: TaikoStars<'_>) -> (Skills, usize) {
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 clock_rate = clock_rate.unwrap_or_else(|| mods.clock_rate());
// True if the object at that index is stamina cheese