feature-gated modes and osu!standard versions

This commit is contained in:
MaxOhn
2021-01-21 17:33:02 +01:00
parent dfbaa47223
commit e933655990
24 changed files with 524 additions and 151 deletions
+2
View File
@@ -1,3 +1,5 @@
#![cfg(feature = "fruits")]
mod catch_object;
mod control_point_iter;
mod difficulty_object;
+1
View File
@@ -13,6 +13,7 @@ impl FruitsAttributeProvider for DifficultyAttributes {
impl FruitsAttributeProvider for StarResult {
fn attributes(self) -> Option<DifficultyAttributes> {
#[allow(irrefutable_let_patterns)]
if let Self::Fruits(attributes) = self {
Some(attributes)
} else {