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:
Jacob Simpson 2022-09-18 07:11:07 -07:00
parent 6c3d35e7e5
commit 3642319a31
1 changed files with 1 additions and 2 deletions

View File

@ -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.