diff options
Diffstat (limited to 'src/select/selection_file')
-rw-r--r-- | src/select/selection_file/display.rs | 2 | ||||
-rw-r--r-- | src/select/selection_file/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/select/selection_file/display.rs b/src/select/selection_file/display.rs index 1f4e09b..8ff6a15 100644 --- a/src/select/selection_file/display.rs +++ b/src/select/selection_file/display.rs @@ -32,7 +32,7 @@ impl Video { let opts = get_video_opts(app, &self.extractor_hash) .await? - .to_cli_flags(&app); + .to_cli_flags(app); let opts_white = if !opts.is_empty() { " " } else { "" }; let publish_date = if let Some(date) = self.publish_date { 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)) } |