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 = {