From ebfcfe45e312d6a78f841965b5d6d876b2b62462 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 8 Aug 2024 00:43:27 +0200 Subject: [PATCH] Remove unneeded `return` --- src/services/brooch/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/brooch/mod.rs b/src/services/brooch/mod.rs index 002edd7f..b56abfb8 100644 --- a/src/services/brooch/mod.rs +++ b/src/services/brooch/mod.rs @@ -325,7 +325,7 @@ impl BroochService { let imp_waited_too_long = *timedelta > self.max_imp_wait; - return imp_available_for_everyone || imp_waited_too_long + imp_available_for_everyone || imp_waited_too_long } fn get_match_side(&self, players: &[Player]) -> AnyResult {