Simplify ArrayChunks::is_empty

This commit is contained in:
Maybe Waffle 2022-08-01 18:48:47 +04:00
parent 37dfb04317
commit 4c0292cff5

View File

@ -312,6 +312,6 @@ where
#[inline]
fn is_empty(&self) -> bool {
self.iter.len() / N == 0
self.iter.len() < N
}
}