made clippy happy
This commit is contained in:
@@ -66,7 +66,7 @@ impl ManiaGradualDifficulty {
|
|||||||
let mods = difficulty.get_mods();
|
let mods = difficulty.get_mods();
|
||||||
let total_columns = converted.cs.round_even().max(1.0);
|
let total_columns = converted.cs.round_even().max(1.0);
|
||||||
let clock_rate = difficulty.get_clock_rate();
|
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
|
let HitWindows { od: hit_window, .. } = converted
|
||||||
.attributes()
|
.attributes()
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ impl DifficultyValues {
|
|||||||
let take = difficulty.get_passed_objects();
|
let take = difficulty.get_passed_objects();
|
||||||
let total_columns = converted.cs.round_even().max(1.0);
|
let total_columns = converted.cs.round_even().max(1.0);
|
||||||
let clock_rate = difficulty.get_clock_rate();
|
let clock_rate = difficulty.get_clock_rate();
|
||||||
let mut params = ObjectParams::new(&converted);
|
let mut params = ObjectParams::new(converted);
|
||||||
|
|
||||||
let mania_objects = converted
|
let mania_objects = converted
|
||||||
.hit_objects
|
.hit_objects
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ impl From<&Beatmap> for BeatmapAttributesBuilder {
|
|||||||
|
|
||||||
impl<M> From<&Converted<'_, M>> for BeatmapAttributesBuilder {
|
impl<M> From<&Converted<'_, M>> for BeatmapAttributesBuilder {
|
||||||
fn from(converted: &Converted<'_, M>) -> Self {
|
fn from(converted: &Converted<'_, M>) -> Self {
|
||||||
Self::new(&converted)
|
Self::new(converted)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user