mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Removed unnecessary trait bounds
This commit is contained in:
parent
f8be5ccd8c
commit
2f08590685
1 changed files with 2 additions and 2 deletions
|
@ -436,8 +436,8 @@ where
|
||||||
update_listener_error_handler: Arc<Eh>,
|
update_listener_error_handler: Arc<Eh>,
|
||||||
mut stop_token: Option<StopToken>,
|
mut stop_token: Option<StopToken>,
|
||||||
) where
|
) where
|
||||||
UListener: UpdateListener + Send + 'a,
|
UListener: UpdateListener + 'a,
|
||||||
Eh: ErrorHandler<UListener::Err> + Send + Sync + 'a,
|
Eh: ErrorHandler<UListener::Err> + 'a,
|
||||||
UListener::Err: Debug,
|
UListener::Err: Debug,
|
||||||
{
|
{
|
||||||
self.state.start_dispatching();
|
self.state.start_dispatching();
|
||||||
|
|
Loading…
Reference in a new issue