diff --git a/src/hyperfine/benchmark.rs b/src/hyperfine/benchmark.rs index f66c00c..6200c8e 100644 --- a/src/hyperfine/benchmark.rs +++ b/src/hyperfine/benchmark.rs @@ -5,8 +5,8 @@ use std::time::Instant; use ansi_term::Colour::{Cyan, Green, Purple, White, Yellow}; use statistical::{mean, standard_deviation}; -use hyperfine::internal::{get_progress_bar, max, min, HyperfineOptions, Second, Warnings, - MIN_EXECUTION_TIME, CmdFailureAction}; +use hyperfine::internal::{get_progress_bar, max, min, CmdFailureAction, HyperfineOptions, Second, + Warnings, MIN_EXECUTION_TIME}; use hyperfine::format::{format_duration, format_duration_unit}; /// Results from timing a single shell command diff --git a/src/main.rs b/src/main.rs index 439bf22..ee81abe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,7 @@ use clap::{App, AppSettings, Arg}; mod hyperfine; -use hyperfine::internal::{HyperfineOptions, CmdFailureAction}; +use hyperfine::internal::{CmdFailureAction, HyperfineOptions}; use hyperfine::benchmark::{mean_shell_spawning_time, run_benchmark}; /// Print error message to stderr and terminate