diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-30 21:33:38 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-30 21:33:38 +0200 |
commit | f15c20e887a58ae8d65c6d4f240d74a3b74cd55d (patch) | |
tree | a5ac3043a46eb33150e6323d22d8bffbc9048d00 /server/protocol/src/lib.rs | |
parent | 080672a5fee18336971fa18ab35bb82fb62a0225 (diff) | |
download | hurrycurry-f15c20e887a58ae8d65c6d4f240d74a3b74cd55d.tar hurrycurry-f15c20e887a58ae8d65c6d4f240d74a3b74cd55d.tar.bz2 hurrycurry-f15c20e887a58ae8d65c6d4f240d74a3b74cd55d.tar.zst |
clippy; make use of is_some_and and is_none_or
Diffstat (limited to 'server/protocol/src/lib.rs')
-rw-r--r-- | server/protocol/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 66f41a6e..c2a7a758 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -206,7 +206,7 @@ pub enum PacketC { id: PlayerID, }, Data { - data: Gamedata, + data: Box<Gamedata>, }, AddPlayer { id: PlayerID, |