Skip to content

Commit

Permalink
Merge pull request #1960 from input-output-hk/dlachaume/stabilize-lin…
Browse files Browse the repository at this point in the history
…t-reasons

Fix: hydra CI error when `allow` lint attribute specifies a reason
  • Loading branch information
dlachaume authored Sep 26, 2024
2 parents e4e7404 + 69fc137 commit fcdd144
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mithril-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 }
Expand Down
6 changes: 2 additions & 4 deletions mithril-common/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand Down

0 comments on commit fcdd144

Please sign in to comment.