Skip to content

Commit

Permalink
Remove & and *.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhchiang-sol committed Nov 15, 2023
1 parent cb5faf4 commit 883c698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts-db/src/tiered_storage/owners.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ mod tests {
let file = OpenOptions::new().read(true).open(path).unwrap();
let mmap = unsafe { MmapOptions::new().map(&file).unwrap() };

for (i, &address) in addresses.iter().enumerate() {
for (i, address) in addresses.iter().enumerate() {
assert_eq!(
*OwnersBlock::get_owner_address(&mmap, &footer, OwnerOffset(i)).unwrap(),
OwnersBlock::get_owner_address(&mmap, &footer, OwnerOffset(i)).unwrap(),
address
);
}
Expand Down

0 comments on commit 883c698

Please sign in to comment.