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
|
Ok(arg_match
|
||||||
.get_many::<String>("files")
|
.get_many::<String>("files")
|
||||||
.context("getting files from args")?
|
.context("getting files from args")?
|
||||||
.cloned()
|
|
||||||
.map(PathBuf::from)
|
.map(PathBuf::from)
|
||||||
.map(|path| {
|
.map(|path| {
|
||||||
path.absolutize()
|
path.absolutize()
|
||||||
|
|||||||
Reference in New Issue
Block a user