prefix var
This commit is contained in:
parent
dd54e04c18
commit
fa2181af70
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue