mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 12:58:12 +08:00
Apply lints and cleanup to Rust code
This commit is contained in:
@@ -467,7 +467,7 @@ impl<'a, const LENGTH: usize> Iterator for BitVectorIter<'a, LENGTH> {
|
||||
type Item = usize;
|
||||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
while self.iter_index < (STORAGE_SIZE_BITS as usize) * LENGTH {
|
||||
while self.iter_index < STORAGE_SIZE_BITS * LENGTH {
|
||||
let bit_value = self.bitvector.get(self.iter_index);
|
||||
|
||||
self.iter_index += 1;
|
||||
|
||||
Reference in New Issue
Block a user