Skip to content
Myr

Remove mutability from values

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Steve Pentland · committed by sharkdp · parent 02a2c30 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/hyperfine/benchmark.rs+1 added-1 removed
319 unmodified lines
320 let cpu_timer = CPUTimer::start();321322 let status = run_shell_command(command)?;323324 let (mut time_user, mut time_system) = cpu_timer.stop();324 let (time_user, time_system) = cpu_timer.stop();325326 Ok((time_user, time_system, status))327}