Skip to content

Commit

Permalink
Merge pull request #1532 from eqlabs/krisztian/fix-rust-1.74.0-clippy
Browse files Browse the repository at this point in the history
fix(p2p): fix Rust 1.74.0 clippy warnings
  • Loading branch information
kkovaacs authored Nov 16, 2023
2 parents 750c66b + 973138b commit 83d79f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/p2p/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub mod protocol {
pub struct $type_name;

impl $type_name {
pub const NAME: &str = $name;
pub const NAME: &'static str = $name;
}

impl AsRef<str> for $type_name {
Expand Down

0 comments on commit 83d79f3

Please sign in to comment.