Skip to content

Commit 83d79f3

Browse files
authored
Merge pull request #1532 from eqlabs/krisztian/fix-rust-1.74.0-clippy
fix(p2p): fix Rust 1.74.0 clippy warnings
2 parents 750c66b + 973138b commit 83d79f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/p2p/src/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub mod protocol {
1010
pub struct $type_name;
1111

1212
impl $type_name {
13-
pub const NAME: &str = $name;
13+
pub const NAME: &'static str = $name;
1414
}
1515

1616
impl AsRef<str> for $type_name {

0 commit comments

Comments
 (0)