diff --git a/src/main.rs b/src/main.rs index b1fdfd5..e52e3ed 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,7 @@ fn main() -> Result<(), Error> { if args.write_to_file { let f = &mut File::create(args.file); - let file = match f { + let _file = match f { Ok(file) => file.write_all(string_output.as_bytes()), Err(e) => panic!("cannot create file: {:?}", e), };