From 806d0f10dd72c445d4daf281fb0d2b4d7309d44c Mon Sep 17 00:00:00 2001 From: Ilya Zlobintsev Date: Fri, 24 Jul 2026 23:43:00 +0300 Subject: [PATCH] fix: clippy --- lact-cli/src/subcommands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lact-cli/src/subcommands.rs b/lact-cli/src/subcommands.rs index c7bf2c0e..156b242a 100644 --- a/lact-cli/src/subcommands.rs +++ b/lact-cli/src/subcommands.rs @@ -240,8 +240,8 @@ pub async fn detach(ctx: CliContext<'_>) -> Result<()> { .gpu_id .as_deref() .context("`--gpu-id` must be passed explicitly for reattaching")?; - let name = ctx.name_for_id(&id).await?; - ctx.client.detach(&id).await?; + let name = ctx.name_for_id(id).await?; + ctx.client.detach(id).await?; if let Some(name) = name { println!("Detached GPU '{id}' ({name})");