Skip to content

Commit

Permalink
chore: fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
EHfive committed Dec 9, 2024
1 parent 63a43b2 commit 90e4f8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ where
if other_value != value {
return Some(MapChange::Update {
key,
old: &value,
old: value,
value: other_value,
});
}
} else {
return Some(MapChange::Delete { key, old: &value });
return Some(MapChange::Delete { key, old: value });
}
}
self.map_a_finished = true
Expand Down

0 comments on commit 90e4f8e

Please sign in to comment.