remove unnecessary clone
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user