mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
style: fix formatting
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user