From fc1184087cd7509bc9f410018bece0d8d963f1be Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Tue, 31 Dec 2019 18:56:28 +0600 Subject: [PATCH] Fix Clippy --- src/dispatching/filter_dp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatching/filter_dp.rs b/src/dispatching/filter_dp.rs index f7d38bc8..e94e9bc7 100644 --- a/src/dispatching/filter_dp.rs +++ b/src/dispatching/filter_dp.rs @@ -265,7 +265,7 @@ impl<'a, HandlerE, Eh> FilterDispatcher<'a, HandlerE, Eh> { async fn handle( update: T, - handlers: &FiltersWithHandlers<'a, T, HandlerE>, + handlers: &[FilterWithHandler<'a, T, HandlerE>], error_handler: &Eh, ) where T: std::fmt::Debug,