Simplify ArrayChunks::is_empty
This commit is contained in:
parent
37dfb04317
commit
4c0292cff5
1 changed files with 1 additions and 1 deletions
|
|
@ -312,6 +312,6 @@ where
|
|||
|
||||
#[inline]
|
||||
fn is_empty(&self) -> bool {
|
||||
self.iter.len() / N == 0
|
||||
self.iter.len() < N
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue