Skip to content

Commit

Permalink
fix(p2p): fix Rust 1.74.0 clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kkovaacs committed Nov 16, 2023
1 parent 750c66b commit 973138b
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 973138b

Please sign in to comment.