From 2768d41344031fcd770f6e0c16532f8d50111a18 Mon Sep 17 00:00:00 2001 From: steven-omaha <35634100+steven-omaha@users.noreply.github.com> Date: Thu, 16 Feb 2023 10:49:02 +0100 Subject: [PATCH] remove unnecessary clone --- crates/pacdef_core/src/args.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/pacdef_core/src/args.rs b/crates/pacdef_core/src/args.rs index 6dbd3b0..0dc25ab 100644 --- a/crates/pacdef_core/src/args.rs +++ b/crates/pacdef_core/src/args.rs @@ -77,7 +77,6 @@ pub fn get_absolutized_file_paths(arg_match: &ArgMatches) -> Result Ok(arg_match .get_many::("files") .context("getting files from args")? - .cloned() .map(PathBuf::from) .map(|path| { path.absolutize()