cargo fmt

This commit is contained in:
sharkdp committed 2018-09-27 23:07:24 +02:00
1 parent 156933489b
commit f85e61dc39
5 files changed
+20 -16

No files matched your search

+4 -1
View File
@@ -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)
};