about summary refs log tree commit diff stats
path: root/crates/yt/src/commands/select/implm
diff options
context:
space:
mode:
Diffstat (limited to 'crates/yt/src/commands/select/implm')
-rw-r--r--crates/yt/src/commands/select/implm/mod.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/crates/yt/src/commands/select/implm/mod.rs b/crates/yt/src/commands/select/implm/mod.rs
index 755076c..155012c 100644
--- a/crates/yt/src/commands/select/implm/mod.rs
+++ b/crates/yt/src/commands/select/implm/mod.rs
@@ -6,34 +6,34 @@ mod fs_generators;
 mod standalone;
 
 impl SelectCommand {
-    pub(crate) async fn implm(self, app: &App) -> Result<()> {
+    pub(in crate::commands) async fn implm(self, app: &App) -> Result<()> {
         match self {
             SelectCommand::File {
                 done,
                 use_last_selection,
-            } => Box::pin(fs_generators::select_file(&app, done, use_last_selection)).await?,
+            } => Box::pin(fs_generators::select_file(app, done, use_last_selection)).await?,
             SelectCommand::Split {
                 done,
                 sort_key,
                 sort_mode,
-            } => Box::pin(fs_generators::select_split(&app, done, sort_key, sort_mode)).await?,
+            } => Box::pin(fs_generators::select_split(app, done, sort_key, sort_mode)).await?,
             SelectCommand::Add { urls, start, stop } => {
-                Box::pin(standalone::add::add(&app, urls, start, stop)).await?;
+                Box::pin(standalone::add::add(app, urls, start, stop)).await?;
             }
             other => {
                 let shared = other
                     .clone()
                     .into_shared()
                     .expect("The ones without shared should have been filtered out.");
-                let hash = shared.hash.realize(&app, None).await?;
+                let hash = shared.hash.realize(app, None).await?;
                 let mut video = hash
-                    .get_with_app(&app)
+                    .get_with_app(app)
                     .await
                     .expect("The hash was already realized, it should therefore exist");
 
                 let mut ops = Operations::new("Main: handle select cmd");
-                standalone::handle_select_cmd(&app, other, &mut video, None, &mut ops).await?;
-                ops.commit(&app).await?;
+                standalone::handle_select_cmd(app, other, &mut video, None, &mut ops).await?;
+                ops.commit(app).await?;
             }
         }