Skip to content

Commit

Permalink
Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscerie committed Oct 21, 2023
1 parent 8f47168 commit b494a83
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions selene/src/validate_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ pub fn validate_config(
ErrorRange { start, end }
});

let Err(error) = crate::standard_library::collect_standard_library(&config, config.std(), directory, &None) else {
let Err(error) =
crate::standard_library::collect_standard_library(&config, config.std(), directory, &None)
else {
return Ok(());
};

Expand Down Expand Up @@ -185,16 +187,16 @@ mod tests {

let Err(validate_result) =
validate_config(&config_path, &config_contents, &validate_config_test.path())
else {
tests_pass = false;
else {
tests_pass = false;

eprintln!(
"{} did not error",
validate_config_test.file_name().to_string_lossy()
);
eprintln!(
"{} did not error",
validate_config_test.file_name().to_string_lossy()
);

continue;
};
continue;
};

let mut rich_output_buffer = termcolor::NoColor::new(Vec::new());
validate_result
Expand Down

0 comments on commit b494a83

Please sign in to comment.