From 2f085906858f9e0af51dfaa315a0a485cc1493bc Mon Sep 17 00:00:00 2001 From: LasterAlex Date: Sun, 20 Oct 2024 04:48:29 +0300 Subject: [PATCH] Removed unnecessary trait bounds --- crates/teloxide/src/dispatching/dispatcher.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/teloxide/src/dispatching/dispatcher.rs b/crates/teloxide/src/dispatching/dispatcher.rs index 2f90d0e4..4bc8297e 100644 --- a/crates/teloxide/src/dispatching/dispatcher.rs +++ b/crates/teloxide/src/dispatching/dispatcher.rs @@ -436,8 +436,8 @@ where update_listener_error_handler: Arc, mut stop_token: Option, ) where - UListener: UpdateListener + Send + 'a, - Eh: ErrorHandler + Send + Sync + 'a, + UListener: UpdateListener + 'a, + Eh: ErrorHandler + 'a, UListener::Err: Debug, { self.state.start_dispatching();