From f55d8a22ecfdfd96163c5f47e23a746135b3923f Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 15 Nov 2020 22:49:26 +0100 Subject: [PATCH] remove useless mut Co-authored-by: Roy Ivy III --- src/uu/install/src/install.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/install/src/install.rs b/src/uu/install/src/install.rs index 8c7df6961..10e0a3d12 100644 --- a/src/uu/install/src/install.rs +++ b/src/uu/install/src/install.rs @@ -217,7 +217,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 { .arg(Arg::with_name(ARG_FILES).multiple(true).takes_value(true)) .get_matches_from(args); - let mut paths: Vec = matches + let paths: Vec = matches .values_of(ARG_FILES) .map(|v| v.map(ToString::to_string).collect()) .unwrap_or_default();