Clippy + small tweaks

This commit is contained in:
Igor Katson 2025-02-27 10:58:58 +00:00
parent 03c63986d1
commit 8ea5dfae87
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 9 additions and 15 deletions

View file

@ -942,7 +942,7 @@ struct PeerHandler {
first_message_received: AtomicBool,
}
impl<'a> PeerConnectionHandler for &'a PeerHandler {
impl PeerConnectionHandler for &PeerHandler {
fn on_connected(&self, connection_time: Duration) {
self.counters
.outgoing_connections