From 09be8567e6c3ef82122fe80d8f890d75a8693629 Mon Sep 17 00:00:00 2001 From: Damien Lachaume <135982616+dlachaume@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:06:53 +0200 Subject: [PATCH 1/2] fix: remove `allow` linting reason --- mithril-common/src/logging.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mithril-common/src/logging.rs b/mithril-common/src/logging.rs index ff275b9e202..9b4ae29baa0 100644 --- a/mithril-common/src/logging.rs +++ b/mithril-common/src/logging.rs @@ -26,10 +26,8 @@ mod tests { use slog::info; struct TestStruct; - #[allow( - dead_code, - reason = "A field is needed to add the lifetime but is unused" - )] + // The `allow(dead_code)` is used because a field is needed to add the lifetime but is unused. + #[allow(dead_code)] struct TestStructWithLifetime<'a>(&'a str); enum TestEnum {} From 69fc137cb45290e8422c2679f74eb8a3bf9ed080 Mon Sep 17 00:00:00 2001 From: Damien Lachaume <135982616+dlachaume@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:59:08 +0200 Subject: [PATCH 2/2] chore: bump crate version --- Cargo.lock | 2 +- mithril-common/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e94457b0148..79cf5144f62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3559,7 +3559,7 @@ dependencies = [ [[package]] name = "mithril-common" -version = "0.4.58" +version = "0.4.59" dependencies = [ "anyhow", "async-trait", diff --git a/mithril-common/Cargo.toml b/mithril-common/Cargo.toml index 037bb3bbda2..e2e5eba391d 100644 --- a/mithril-common/Cargo.toml +++ b/mithril-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-common" -version = "0.4.58" +version = "0.4.59" description = "Common types, interfaces, and utilities for Mithril nodes." authors = { workspace = true } edition = { workspace = true }