ran cargo fmt

This commit is contained in:
Steve Nease authored and David Peter committed 2023-03-15 09:33:49 +01:00
1 parent e38acdb683
commit 0e3bad1391
3 files changed
+14 -11

No files matched your search

+3 -2
View File
@@ -231,7 +231,6 @@ pub struct Options {
/// Where input to the benchmarked command comes from
pub command_input_policy: CommandInputPolicy,
}
impl Default for Options {
@@ -392,7 +391,9 @@ impl Options {
options.command_input_policy = if let Some(path_str) = matches.value_of("stdin-data") {
let path = PathBuf::from(path_str);
if !path.exists() {
return Err(OptionsError::StdinDataFileDoesNotExist(path_str.to_string()))
return Err(OptionsError::StdinDataFileDoesNotExist(
path_str.to_string(),
));
}
CommandInputPolicy::File(path)
} else {