style: fix formatting

This commit is contained in:
yongkangc
2026-01-07 02:30:25 +00:00
parent 877ce46915
commit 533dca4f45

View File

@@ -71,8 +71,8 @@ where
/// 2. We process entries in sorted order during the merge
#[inline]
fn push_or_update<K: Clone + Eq, V: Clone>(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();