From cad26a12199ff0771a8154911b8db6fb3eb72a97 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 12 Oct 2024 10:08:19 +0100 Subject: [PATCH] screw you rustfmt --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index dd07e06..9e2b4bf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -498,7 +498,10 @@ fn render_single_output( .context("Template render failed")?; if let Some(path) = check { - if matches!(check_result_with_file(&path, &result).context("Check mode failed")?, CheckResult::Fail) { + if matches!( + check_result_with_file(&path, &result).context("Check mode failed")?, + CheckResult::Fail + ) { std::process::exit(1); } } else if let Some(filename) = filename {