mirror of https://github.com/rwf2/Rocket.git
Update return type of Responder in the docs.
Addresses: https://github.com/SergioBenitez/Rocket/issues/2286 For testing I examined `Rocket/target/doc/rocket/response/trait.Responder.html` after `cargo doc`.
This commit is contained in:
parent
6c3d35e7e5
commit
3642319a31
|
@ -106,8 +106,7 @@ use crate::request::Request;
|
|||
///
|
||||
/// # Return Value
|
||||
///
|
||||
/// A `Responder` returns a `Future` whose output type is a `Result<Response,
|
||||
/// Status>`.
|
||||
/// A `Responder` returns a `Result<Response, Status>`.
|
||||
///
|
||||
/// * An `Ok(Response)` indicates success. The `Response` will be written out
|
||||
/// to the client.
|
||||
|
|
Loading…
Reference in New Issue