From d32b90ee5c86005e6a78be6834de752b1d1bfacd Mon Sep 17 00:00:00 2001 From: Steve Nease Date: Sat, 15 Oct 2022 14:36:40 -0500 Subject: [PATCH] Add the rest of the suggestions from code review --- src/benchmark/executor.rs | 2 +- src/cli.rs | 10 ++++++---- src/options.rs | 8 ++++---- tests/integration_tests.rs | 4 ++-- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/benchmark/executor.rs b/src/benchmark/executor.rs index 7d16870..e4fee37 100644 --- a/src/benchmark/executor.rs +++ b/src/benchmark/executor.rs @@ -1,4 +1,4 @@ -use std::process::{ExitStatus, Stdio}; +use std::process::ExitStatus; use crate::command::Command; use crate::options::{ diff --git a/src/cli.rs b/src/cli.rs index 9abfc19..c0ae581 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -313,12 +313,14 @@ fn build_command() -> Command { .help("Enable debug mode which does not actually run commands, but returns fake times when the command is 'sleep