Skip to content

Commit 4193a82

Browse files
antifuchsjmfrank63
authored andcommitted
Fix clippy for latest stable
1 parent c5f2fdb commit 4193a82

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

governor/src/state/keyed/hashmap.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ impl<K: Hash + Eq + Clone> StateStore for HashMapStateStore<K> {
3232
return v.measure_and_replace_one(f);
3333
}
3434
// not-so-fast path: make a new entry and measure it.
35-
let entry = (*map)
36-
.entry(key.clone())
37-
.or_default();
35+
let entry = (*map).entry(key.clone()).or_default();
3836
entry.measure_and_replace_one(f)
3937
}
4038

0 commit comments

Comments
 (0)