From c2decbc1ba8b64ea746c48fcbc1739a2149fc381 Mon Sep 17 00:00:00 2001 From: Cutieguwu Date: Wed, 31 Dec 2025 11:08:35 -0500 Subject: [PATCH] Cleanup. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6f3368d..e6cbcfe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,7 +24,7 @@ fn main() -> anyhow::Result<()> { OpenOptions::new() .read(true) .open(&input_path) - .with_context(move || format!("Failed to open input file: {}", input_path.display()))? + .with_context(|| format!("Failed to open input file: {}", input_path.display()))? }; let output: File = {