Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
Fix clippy warning in the `network-libp2p` metrics implementation.
  • Loading branch information
jsdanielh committed Jan 30, 2025
1 parent 72cd684 commit 3e923ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network-libp2p/src/network_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl Default for NetworkMetrics {
NetworkMetrics {
gossipsub_messages_received: Default::default(),
gossipsub_messages_published: Default::default(),
response_times: Histogram::new([0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0].into_iter()),
response_times: Histogram::new([0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0]),
}
}
}
Expand Down

0 comments on commit 3e923ca

Please sign in to comment.