diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-30 11:33:03 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-30 11:33:03 +0100 |
| commit | aee4e6229b6a796691ba7a5bfff4e2b76700662a (patch) | |
| tree | 3e4b76e2d07936c2e39f227edd92a8a986b814e8 /server/src | |
| parent | a85f6200517405918941cc64ba4b734e246bc411 (diff) | |
| download | hurrycurry-aee4e6229b6a796691ba7a5bfff4e2b76700662a.tar hurrycurry-aee4e6229b6a796691ba7a5bfff4e2b76700662a.tar.bz2 hurrycurry-aee4e6229b6a796691ba7a5bfff4e2b76700662a.tar.zst | |
clippy
Diffstat (limited to 'server/src')
| -rw-r--r-- | server/src/entity/customers.rs | 2 | ||||
| -rw-r--r-- | server/src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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(()) |