made clippy happy

This commit is contained in:
MaxOhn
2024-03-02 16:51:25 +01:00
parent eec15b0cc2
commit 3681ff725b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ impl ManiaGradualDifficulty {
let mods = difficulty.get_mods();
let total_columns = converted.cs.round_even().max(1.0);
let clock_rate = difficulty.get_clock_rate();
let mut params = ObjectParams::new(&converted);
let mut params = ObjectParams::new(converted);
let HitWindows { od: hit_window, .. } = converted
.attributes()
+1 -1
View File
@@ -51,7 +51,7 @@ impl DifficultyValues {
let take = difficulty.get_passed_objects();
let total_columns = converted.cs.round_even().max(1.0);
let clock_rate = difficulty.get_clock_rate();
let mut params = ObjectParams::new(&converted);
let mut params = ObjectParams::new(converted);
let mania_objects = converted
.hit_objects
+1 -1
View File
@@ -239,7 +239,7 @@ impl From<&Beatmap> for BeatmapAttributesBuilder {
impl<M> From<&Converted<'_, M>> for BeatmapAttributesBuilder {
fn from(converted: &Converted<'_, M>) -> Self {
Self::new(&converted)
Self::new(converted)
}
}