diff --git a/src/dispatching/error_handler.rs b/src/dispatching/error_handler.rs index a8f78ca3..ed3703af 100644 --- a/src/dispatching/error_handler.rs +++ b/src/dispatching/error_handler.rs @@ -1,7 +1,4 @@ //! Error handlers. -//! -//! Looks quite strange for now, but with stabilised asynchronous traits it -//! should be prettier. // Infallible used here instead of `!` to be compatible with rust <1.41. use std::{convert::Infallible, fmt::Debug, future::Future, pin::Pin}; diff --git a/src/dispatching/handler.rs b/src/dispatching/handler.rs index 36dbd337..c0911be1 100644 --- a/src/dispatching/handler.rs +++ b/src/dispatching/handler.rs @@ -13,9 +13,6 @@ pub trait Handler { /// The implementation of `Handler` for `Fn(U) -> Future>`. -/// -/// Looks quite strange for now, but with stabilised asynchronous traits it -/// should be prettier. impl Handler for F where F: Fn(T) -> Fut,