mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
cargo fmt
This commit is contained in:
1 parent
630a17f87b
commit
5ee1c74d81
3 files changed
+3
-4
No files matched your search
@@ -36,7 +36,6 @@ fn subtract_shell_spawning_time(time: Second, shell_spawning_time: Second) -> Se
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Run the given shell command and measure the execution time
|
||||
pub fn time_shell_command(
|
||||
shell_cmd: &str,
|
||||
|
||||
@@ -65,8 +65,8 @@ pub fn get_progress_bar(length: u64, msg: &str, option: &OutputStyleOption) -> P
|
||||
let progressbar_style = match *option {
|
||||
OutputStyleOption::Basic => ProgressStyle::default_bar(),
|
||||
OutputStyleOption::Full => ProgressStyle::default_spinner()
|
||||
.tick_chars("⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏")
|
||||
.template(" {spinner} {msg:<30} {wide_bar} ETA {eta_precise}"),
|
||||
.tick_chars("⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏")
|
||||
.template(" {spinner} {msg:<30} {wide_bar} ETA {eta_precise}"),
|
||||
};
|
||||
|
||||
let progress_bar = match *option {
|
||||
|
||||
@@ -5,4 +5,4 @@ pub mod outlier_detection;
|
||||
pub mod warnings;
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
pub mod cputime;
|
||||
pub mod cputime;
|
||||
Reference in new issue
Block a user