From 6bc342ba22b8934e724121d5d06468f2ca413ff9 Mon Sep 17 00:00:00 2001 From: George Thomas Date: Tue, 23 Dec 2025 11:31:41 +0000 Subject: [PATCH] Format --- rust/main.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/rust/main.rs b/rust/main.rs index 471b890..1364c39 100644 --- a/rust/main.rs +++ b/rust/main.rs @@ -19,7 +19,8 @@ fn main() { let input = fs::read_to_string(format!("../inputs/{}/{}", t, puzzle.number())) .expect("no input file"); puzzle.with_parts(&input, &|n, run| { - let expected = fs::read_to_string(format!("../outputs/{}/{}/{}", t, puzzle.number(), n)) + let expected = + fs::read_to_string(format!("../outputs/{}/{}/{}", t, puzzle.number(), n)) .expect("no golden file"); let expected = expected.trim_end(); print!(" {}: ", n); @@ -33,11 +34,7 @@ fn main() { } print!("\n"); } else { - println!( - "expected {}, got {}", - expected, - output - ); + println!("expected {}, got {}", expected, output); }; }); });