made clippy quiet

This commit is contained in:
MaxOhn
2024-03-18 20:40:59 +01:00
parent 788a372abe
commit 711e548a7e
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -168,6 +168,7 @@ impl GradualPerformance {
}
/// Returns the amount of remaining objects.
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
match self {
GradualPerformance::Osu(gradual) => gradual.len(),
+1
View File
@@ -130,6 +130,7 @@ impl CatchGradualPerformance {
}
/// Returns the amount of remaining objects.
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
self.difficulty.len()
}
+1
View File
@@ -112,6 +112,7 @@ impl ManiaGradualPerformance {
}
/// Returns the amount of remaining objects.
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
self.difficulty.len()
}
+1
View File
@@ -122,6 +122,7 @@ impl OsuGradualPerformance {
}
/// Returns the amount of remaining objects.
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
self.difficulty.len()
}
+1
View File
@@ -121,6 +121,7 @@ impl TaikoGradualPerformance {
}
/// Returns the amount of remaining objects.
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
self.difficulty.len()
}