about summary refs log tree commit diff stats
path: root/src/select/selection_file/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/selection_file/mod.rs')
-rw-r--r--src/select/selection_file/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<Option<Vec<String>>> {
 
         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))
     }