From a60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 17:30:02 +0200 Subject: refactor(treewide): Conform to `cargo clippy` --- src/select/selection_file/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/select/selection_file/mod.rs') diff --git a/src/select/selection_file/mod.rs b/src/select/selection_file/mod.rs index bdb0866..d228023 100644 --- a/src/select/selection_file/mod.rs +++ b/src/select/selection_file/mod.rs @@ -28,7 +28,7 @@ pub fn process_line(line: &str) -> Result>> { let mut vec = Vec::with_capacity(tri.arguments().len() + 1); vec.push(tri.command().to_owned()); - vec.extend(tri.arguments().to_vec().into_iter()); + vec.extend(tri.arguments().to_vec()); Ok(Some(vec)) } -- cgit 1.4.1