From e12b0262da4f767e837eb20353c4cdaafc7e4185 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 9 Oct 2025 12:35:17 +0000 Subject: [PATCH] Fix unnecessary async for future and/or utils. Signed-off-by: Jason Volk --- src/core/utils/future/bool_ext.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/utils/future/bool_ext.rs b/src/core/utils/future/bool_ext.rs index c8f4ed50..899806d2 100644 --- a/src/core/utils/future/bool_ext.rs +++ b/src/core/utils/future/bool_ext.rs @@ -60,7 +60,7 @@ where } } -pub async fn and(args: I) -> impl Future + Send +pub fn and(args: I) -> impl Future + Send where I: Iterator + Send, F: Future + Send, @@ -72,7 +72,7 @@ where try_join_all(args).map(|result| result.is_ok()) } -pub async fn or(args: I) -> impl Future + Send +pub fn or(args: I) -> impl Future + Send where I: Iterator + Send, F: Future + Send + Unpin,