From a2eb579ac8f5659162ebcbe98f33e1d70a1d9690 Mon Sep 17 00:00:00 2001 From: Joshua Colvin Date: Fri, 20 Oct 2023 11:57:51 -0700 Subject: [PATCH] test 1898 --- arbitrator/prover/src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arbitrator/prover/src/main.rs b/arbitrator/prover/src/main.rs index 9afa6a7f550..6fc34f5ad36 100644 --- a/arbitrator/prover/src/main.rs +++ b/arbitrator/prover/src/main.rs @@ -387,9 +387,7 @@ fn main() -> Result<()> { while let Some((module, func, profile)) = func_stack.pop() { sum.total_cycles += profile.total_cycles; sum.count += profile.count; - let entry = func_profile - .entry((module, func)) - .or_insert_with(SimpleProfile::default); + let entry = func_profile.entry((module, func)).or_default(); entry.count += sum.count; entry.total_cycles += sum.total_cycles; entry.local_cycles += profile.local_cycles;