mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-30 08:40:18 +00:00
Run cargo fmt
This commit is contained in:
1 parent
75919ad884
commit
f860c3cf6b
2 files changed
+5
-3
No files matched your search
@@ -343,7 +343,9 @@ pub fn run_benchmark(
|
||||
format!("Current estimate: {}", mean.to_string().green())
|
||||
};
|
||||
|
||||
progress_bar.as_ref().map(|bar| bar.set_message(msg.to_owned()));
|
||||
progress_bar
|
||||
.as_ref()
|
||||
.map(|bar| bar.set_message(msg.to_owned()));
|
||||
|
||||
let (res, status) = time_shell_command(
|
||||
&options.shell,
|
||||
|
||||
@@ -64,8 +64,8 @@ fn compare_mean_time(l: &BenchmarkResult, r: &BenchmarkResult) -> Ordering {
|
||||
l.mean.partial_cmp(&r.mean).unwrap_or(Ordering::Equal)
|
||||
}
|
||||
|
||||
pub fn compute_relative_speed (
|
||||
results: & [BenchmarkResult],
|
||||
pub fn compute_relative_speed(
|
||||
results: &[BenchmarkResult],
|
||||
) -> Option<Vec<BenchmarkResultWithRelativeSpeed>> {
|
||||
let fastest: &BenchmarkResult = results
|
||||
.iter()
|
||||
|
||||
Reference in new issue
Block a user