Fix Responder documentation: remove an outdated reference to 'Future'.

This commit is contained in:
timando 2021-06-15 18:36:08 +10:00 committed by Jeb Rosen
parent af1aa079d6
commit c3dc7183f3
1 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,7 @@ use crate::request::Request;
///
/// # Return Value
///
/// A `Responder` returns a `Future` whose output type is an `Ok(Response)` or
/// an `Err(Status)`:
/// A `Responder` returns an `Ok(Response)` or an `Err(Status)`:
///
/// * An `Ok` variant means that the `Responder` was successful in generating
/// a `Response`. The `Response` will be written out to the client.