From 64ef7ac61745f720c243bd6792d390849bc42ad6 Mon Sep 17 00:00:00 2001 From: Truman Kilen Date: Tue, 31 Jan 2023 23:14:52 -0600 Subject: [PATCH] clippy --- unpak_cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpak_cli/src/main.rs b/unpak_cli/src/main.rs index e7b86f1..7404f8e 100644 --- a/unpak_cli/src/main.rs +++ b/unpak_cli/src/main.rs @@ -213,7 +213,7 @@ fn pack(args: ActionPack) -> Result<(), unpak::Error> { if args.verbose { println!("packing {}", &rel); } - pak.write_file(&rel, &mut BufReader::new(File::open(&p)?))?; + pak.write_file(rel, &mut BufReader::new(File::open(&p)?))?; } pak.write_index()?;