osu: clean up of feature based functions

This commit is contained in:
MaxOhn
2021-11-03 18:10:49 +01:00
parent 528f1b2a7e
commit 3f8d023e71
4 changed files with 15 additions and 42 deletions
+1 -2
View File
@@ -256,8 +256,7 @@ impl<'m> FruitsPP<'m> {
}
}
/// Returns an object which contains the pp and [`DifficultyAttributes`](crate::fruits::DifficultyAttributes)
/// containing stars and other attributes.
/// Calculate all performance related values, including pp and stars.
pub fn calculate(mut self) -> PerformanceAttributes {
let attributes = self
.attributes