From 08ad79a729a5f110d307d786fffb0a7236c4ed5c Mon Sep 17 00:00:00 2001 From: knidarkness Date: Sat, 12 Oct 2019 12:06:18 +0300 Subject: [PATCH] Removed output for warnings --- src/hyperfine/benchmark.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperfine/benchmark.rs b/src/hyperfine/benchmark.rs index f58d4c9..0cf1666 100644 --- a/src/hyperfine/benchmark.rs +++ b/src/hyperfine/benchmark.rs @@ -393,7 +393,7 @@ pub fn run_benchmark( warnings.push(Warnings::OutliersDetected); } - if !warnings.is_empty() { + if !warnings.is_empty() && options.output_style != OutputStyleOption::None { eprintln!(" "); for warning in &warnings {