minor adjustments

This commit is contained in:
MaxOhn
2021-11-21 02:37:00 +01:00
parent b0f2cb3e9c
commit f2e8a2e4c3
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ pub fn stars(
attributes
}
None => return FruitsDifficultyAttributes::default(),
None => FruitsDifficultyAttributes::default(),
}
}
+1 -1
View File
@@ -226,7 +226,7 @@ fn norm(p: f64, a: f64, b: f64, c: f64) -> f64 {
}
/// The result of a difficulty calculation on an osu!taiko map.
#[derive(Clone, Debug, Default)]
#[derive(Copy, Clone, Debug, Default)]
pub struct TaikoDifficultyAttributes {
/// The final star rating.
pub stars: f64,