Merge pull request #108 from teloxide/fix_clippy

Fix Clippy
This commit is contained in:
Temirkhan Myrzamadi 2019-12-31 18:57:05 +06:00 committed by GitHub
commit 7398f65122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ impl<'a, HandlerE, Eh> FilterDispatcher<'a, HandlerE, Eh> {
async fn handle<T, UpdaterE>( async fn handle<T, UpdaterE>(
update: T, update: T,
handlers: &FiltersWithHandlers<'a, T, HandlerE>, handlers: &[FilterWithHandler<'a, T, HandlerE>],
error_handler: &Eh, error_handler: &Eh,
) where ) where
T: std::fmt::Debug, T: std::fmt::Debug,