Fix Rust formatting

This commit is contained in:
Luc Perkins 2023-06-13 09:33:27 -07:00
parent 51c67340e3
commit b6eb5ac1ba
No known key found for this signature in database
GPG Key ID: 4F102D0C16E232F2
2 changed files with 10 additions and 2 deletions

View File

@ -50,7 +50,12 @@ struct Cli {
flake_lock_path: PathBuf,
/// Fail with an exit code of 1 if any issues are encountered.
#[arg(long, short, env = "NIX_FLAKE_CHECKER_FAIL_MODE", default_value_t = false)]
#[arg(
long,
short,
env = "NIX_FLAKE_CHECKER_FAIL_MODE",
default_value_t = false
)]
fail_mode: bool,
}

View File

@ -47,7 +47,10 @@ impl Summary {
"supported_ref_names": ALLOWED_REFS,
});
Self { issues: issues.to_vec(), data }
Self {
issues: issues.to_vec(),
data,
}
}
pub fn generate_markdown(&self) -> Result<(), FlakeCheckerError> {