chore: fix clippy warnings

This commit is contained in:
Michel de Graaf
2025-06-29 22:16:17 +02:00
parent 78ac774e82
commit b69be1c6f0
15 changed files with 506 additions and 504 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ impl Client {
let unlocked_context = context.lock().unwrap();
if let Some(sender) = &unlocked_context.sender {
if unlocked_context.peers.get(&peer.username).is_none() {
if !unlocked_context.peers.contains_key(&peer.username) {
let peer_clone = peer.clone();
let sender_clone = sender.clone();
thread::spawn(move || {