Skip to content

Commit

Permalink
remove spurious check (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y authored Aug 21, 2024
1 parent 95cec9e commit 0ee78e0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ impl<'a> Iterator for CodesIterator<'a> {
self.reference = self.index * 64;
}

if self.block == 0 {
return None;
}

// Find the next set bit in the current block.
let position = self.block.trailing_zeros() as usize;
let code = self.reference + position;
Expand Down

0 comments on commit 0ee78e0

Please sign in to comment.