remove unnecessary clone

This commit is contained in:
steven-omaha
2023-02-16 10:49:02 +01:00
parent 7c44f18462
commit 2768d41344
-1
View File
@@ -77,7 +77,6 @@ pub fn get_absolutized_file_paths(arg_match: &ArgMatches) -> Result<Vec<PathBuf>
Ok(arg_match
.get_many::<String>("files")
.context("getting files from args")?
.cloned()
.map(PathBuf::from)
.map(|path| {
path.absolutize()