diff --git a/src/dispatching/dispatchers/filter/error_policy.rs b/src/dispatching/dispatchers/filter/error_policy.rs index b602bcf0..91bd322b 100644 --- a/src/dispatching/dispatchers/filter/error_policy.rs +++ b/src/dispatching/dispatchers/filter/error_policy.rs @@ -12,10 +12,10 @@ pub trait ErrorPolicy { } impl ErrorPolicy for F - where - F: Fn(E) -> Fut + Sync, - Fut: Future + Send, - E: Send, +where + F: Fn(E) -> Fut + Sync, + Fut: Future + Send, + E: Send, { fn handle_error<'s, 'async_trait>(&'s self, error: E) -> Pin + Send + 'async_trait>> where