Remove unneeded mut

This commit is contained in:
asonix 2023-07-21 16:36:07 -05:00
parent bcdef5caa1
commit a65ff19f6a

View file

@ -159,7 +159,7 @@ impl Snapshot {
let entry = merging.entry(name).or_insert_with(HashMap::new); let entry = merging.entry(name).or_insert_with(HashMap::new);
for counter in counters { for counter in counters {
let mut merge_counter = entry let merge_counter = entry
.entry(counter.labels.clone()) .entry(counter.labels.clone())
.or_insert_with(MergeCounter::default); .or_insert_with(MergeCounter::default);
if key == *start { if key == *start {