allow len without is_empty

This commit is contained in:
MaxOhn
2022-08-02 18:06:52 +02:00
parent d81a8c9ab6
commit 836c2e3861
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -219,6 +219,7 @@ pub struct OsuStrains {
impl OsuStrains {
/// Returns the number of strain peaks per skill.
#[inline]
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
self.aim.len()
}