From 9549211ac1b2a174def7a96412099cb6b06fd8d3 Mon Sep 17 00:00:00 2001 From: Marcel Lilienthal <134974+mlilien@users.noreply.github.com> Date: Thu, 15 Oct 2026 08:23:27 +0200 Subject: [PATCH] fix(clippy): remove redundant borrows in info! args - fix clippy::useless_borrows_in_formatting (new in Rust 1.99) - bump version to 0.28.4 Signed-off-by: Marcel Lilienthal <134974+mlilien@users.noreply.github.com> --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/device_update/mod.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cbccf04..1a40605 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "omnect-cli" -version = "0.28.3" +version = "0.28.4" dependencies = [ "actix-web", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index ece1ced..aa09b2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0" name = "omnect-cli" readme = "README.md" repository = "https://github.com/omnect/omnect-cli" -version = "0.28.3" +version = "0.28.4" [dependencies] actix-web = { version = "4.11", default-features = false, features = ["macros"] } diff --git a/src/device_update/mod.rs b/src/device_update/mod.rs index 8e2f6da..761aa5c 100644 --- a/src/device_update/mod.rs +++ b/src/device_update/mod.rs @@ -292,7 +292,7 @@ pub async fn import_update( debug!("import update: {import_update}"); let import_update_response = adu_client.import_update(instance_id, import_update).await?; - info!("Result of import update: {:?}", &import_update_response); + info!("Result of import update: {:?}", import_update_response); Ok(()) } @@ -321,7 +321,7 @@ pub async fn remove_update( let remove_update_response = adu_client .delete_update(instance_id, provider, name, version) .await?; - info!("Result of remove update: {:?}", &remove_update_response); + info!("Result of remove update: {:?}", remove_update_response); Ok(()) }