From 533dca4f45cb7c21f177d1f35300655641c860fd Mon Sep 17 00:00:00 2001 From: yongkangc Date: Wed, 7 Jan 2026 02:30:25 +0000 Subject: [PATCH] style: fix formatting --- crates/trie/common/src/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/trie/common/src/utils.rs b/crates/trie/common/src/utils.rs index 024b138fcf..c369c5953c 100644 --- a/crates/trie/common/src/utils.rs +++ b/crates/trie/common/src/utils.rs @@ -71,8 +71,8 @@ where /// 2. We process entries in sorted order during the merge #[inline] fn push_or_update(merged: &mut Vec<(K, V)>, entry: &(K, V)) { - if let Some((last_key, last_value)) = merged.last_mut() - && *last_key == entry.0 + if let Some((last_key, last_value)) = merged.last_mut() && + *last_key == entry.0 { // Duplicate key: overwrite value (last one wins) *last_value = entry.1.clone();