clippy fix (#1123)

* clippy fix

* more
This commit is contained in:
Logan McNaughton 2026-06-25 15:09:18 +02:00 committed by GitHub
parent c97f14980b
commit 08e7ec71d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -2619,7 +2619,7 @@ dependencies = [
[[package]]
name = "ggrs"
version = "0.12.0"
source = "git+https://github.com/gschup/ggrs.git#aa61f9a5f8f8025d70dba5237cce6db8b6da87ea"
source = "git+https://github.com/gschup/ggrs.git#d260417700bef25482ba0861587905f643385e14"
dependencies = [
"bincode 1.3.3",
"bitfield-rle",

View File

@ -387,7 +387,7 @@ fn verify_peers(
peers: &[matchbox_socket::PeerId],
player_numbers: &std::collections::BTreeMap<usize, Option<matchbox_socket::PeerId>>,
) -> bool {
for (_, peer) in player_numbers.iter() {
for peer in player_numbers.values() {
if let Some(peer) = peer
&& !peers.contains(peer)
{