From 90e4f8e7706e38408d8c46a1c738f5578d2b1f3b Mon Sep 17 00:00:00 2001 From: Huang-Huang Bao Date: Mon, 9 Dec 2024 13:49:29 +0800 Subject: [PATCH] chore: fix a warning --- src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index bc9d763..a91d5f9 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -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