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
@@ -132,6 +132,7 @@ pub struct CatchStrains {
impl CatchStrains {
/// Returns the number of strain peaks per skill.
#[inline]
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
self.movement.len()
}