Skip to content

Commit

Permalink
remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Oct 20, 2021
1 parent 1e2663c commit 5a0481f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/storage/src/lazy/lazy_imap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ where
let offset_key = ExtKeyPtr::next_for::<Self>(ptr);
let mut root_key = Key::default();
for (&index, entry) in self.entries().iter() {
offset_key.add_assign_using(index as u64, &mut root_key);
offset_key.add_assign_using(index, &mut root_key);
entry.push_packed_root(&root_key);
}
}
Expand Down

0 comments on commit 5a0481f

Please sign in to comment.