diff --git a/src/dispatching/error_handler.rs b/src/dispatching/error_handler.rs index d57602b9..c663b054 100644 --- a/src/dispatching/error_handler.rs +++ b/src/dispatching/error_handler.rs @@ -6,7 +6,7 @@ // Infallible used here instead of `!` to be compatible with rust <1.41. use std::{convert::Infallible, future::Future, pin::Pin}; -/// A handler of an error. +/// An asynchronous handler of an error. pub trait ErrorHandler { fn handle_error<'a>( &'a self, diff --git a/src/dispatching/handler.rs b/src/dispatching/handler.rs index e919594c..fad633e2 100644 --- a/src/dispatching/handler.rs +++ b/src/dispatching/handler.rs @@ -1,6 +1,6 @@ use std::{future::Future, pin::Pin}; -/// A handler of a successful value. +/// An asynchronous handler of a value. pub trait Handler { #[must_use] fn handle<'a>(