cargo fmt

This commit is contained in:
sharkdp authored and David Peter committed 2018-02-02 22:42:53 +01:00
1 parent 630a17f87b
commit 5ee1c74d81
3 files changed
+3 -4

No files matched your search

-1
View File
@@ -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,
+2 -2
View File
@@ -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 {
+1 -1
View File
@@ -5,4 +5,4 @@ pub mod outlier_detection;
pub mod warnings;
#[cfg(not(target_os = "windows"))]
pub mod cputime;
pub mod cputime;