made clippy happy

This commit is contained in:
MaxOhn
2021-01-20 19:57:37 +01:00
parent b2f2333c66
commit 318f677373
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ pub fn stars(map: &Beatmap, mods: impl Mods, passed_objects: Option<usize>) -> S
let stars = strain.difficulty_value() * STAR_SCALING_FACTOR;
return StarResult::Mania(DifficultyAttributes { stars });
StarResult::Mania(DifficultyAttributes { stars })
}
/// Essentially the same as the `stars` function but instead of