From f50a8e1be6d6884ad9308f272d364a74913b59b6 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Tue, 31 Dec 2024 11:59:09 +0200 Subject: [PATCH] KER-1: Fix minor Clippy errors --- src/command.rs | 1 + src/task/import_tasks.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/command.rs b/src/command.rs index bc50a43..960c0ce 100644 --- a/src/command.rs +++ b/src/command.rs @@ -165,6 +165,7 @@ impl CommandTarget { match self { Self::Local { .. } => {} Self::Remote { hostname, dry, .. } if !*dry => { + let _ = hostname; // TODO: ssh -O exit ${hostname} } _ => {} diff --git a/src/task/import_tasks.rs b/src/task/import_tasks.rs index 6be6444..44e7490 100644 --- a/src/task/import_tasks.rs +++ b/src/task/import_tasks.rs @@ -17,6 +17,9 @@ strike! { #[async_trait] impl Task for ImportTasks { async fn run(context: TaskContext, value: Value) -> TaskResult { + let _ = context; + let _ = value; + Ok(None) } }