From 9a745bb56d592f9b02f94c1d681fe607670fae02 Mon Sep 17 00:00:00 2001 From: stale Date: Thu, 30 Jun 2022 07:18:45 -0300 Subject: clippy fixes and version bump --- src/livepos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/livepos.rs') diff --git a/src/livepos.rs b/src/livepos.rs index be56b1e..9112755 100644 --- a/src/livepos.rs +++ b/src/livepos.rs @@ -33,7 +33,7 @@ pub async fn livepos(players: PlayerMapData, mut recv: tokio_mpsc::UnboundedRece }, ReqData::StateDump => { dirty.clear(); - dirty.extend(positions.keys().map(|x| *x)); + dirty.extend(positions.keys().copied()); }, ReqData::Quit => { positions.remove(&update.id); -- cgit v1.2.3