From aee4e6229b6a796691ba7a5bfff4e2b76700662a Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 30 Oct 2025 11:33:03 +0100 Subject: clippy --- server/src/entity/customers.rs | 2 +- server/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src') diff --git a/server/src/entity/customers.rs b/server/src/entity/customers.rs index 193fc2a3..148faf81 100644 --- a/server/src/entity/customers.rs +++ b/server/src/entity/customers.rs @@ -64,7 +64,7 @@ impl Entity for Customers { headwear: 0, }, PlayerClass::Customer, - |id| Customer::new(id), + Customer::new, ); self.customers.push(bot) } diff --git a/server/src/main.rs b/server/src/main.rs index b1086b39..8a080af6 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -265,7 +265,7 @@ async fn run(data_path: PathBuf, args: Args) -> anyhow::Result<()> { } }; } - let _ = state.write().await.disconnect(id); + state.write().await.disconnect(id); }); } Ok(()) -- cgit v1.3