mirror of https://github.com/rwf2/Rocket.git
Fix Responder documentation: remove an outdated reference to 'Future'.
This commit is contained in:
parent
af1aa079d6
commit
c3dc7183f3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue