mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 09:01:25 +00:00
cargo fmt
This commit is contained in:
1 parent
156933489b
commit
f85e61dc39
5 files changed
+20
-16
No files matched your search
@@ -219,7 +219,10 @@ pub fn run_benchmark(
|
||||
let count = {
|
||||
let min = cmp::max(runs_in_min_time, options.runs.min);
|
||||
|
||||
options.runs.max.as_ref()
|
||||
options
|
||||
.runs
|
||||
.max
|
||||
.as_ref()
|
||||
.map(|max| cmp::min(min, *max))
|
||||
.unwrap_or(min)
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user