mirror of https://github.com/rwf2/Rocket.git
HTML escape < in Responder docs.
This commit is contained in:
parent
4f89e232aa
commit
3dc82e2349
|
@ -82,20 +82,20 @@ impl<'a, T, E> IntoOutcome<(), (), (StatusCode, FreshHyperResponse<'a>)> for Res
|
|||
///
|
||||
/// Responds with an empty body.
|
||||
///
|
||||
/// * **impl<T: Responder> Responder for Option<T>**
|
||||
/// * **impl<T: Responder> Responder for Option<T>**
|
||||
///
|
||||
/// If the `Option` is `Some`, the wrapped responder is used to respond to
|
||||
/// respond to the client. Otherwise, the response is forwarded to the 404
|
||||
/// error catcher and a warning is printed to the console.
|
||||
///
|
||||
/// * **impl<T: Responder, E: Debug> Responder for Result<T, E>**
|
||||
/// * **impl<T: Responder, E: Debug> Responder for Result<T, E>**
|
||||
///
|
||||
/// If the `Result` is `Ok`, the wrapped responder is used to respond to the
|
||||
/// client. Otherwise, the response is forwarded to the 500 error catcher
|
||||
/// and the error is printed to the console using the `Debug`
|
||||
/// implementation.
|
||||
///
|
||||
/// * **impl<T: Responder, E: Responder + Debug> Responder for Result<T, E>**
|
||||
/// * **impl<T: Responder, E: Responder + Debug> Responder for Result<T, E>**
|
||||
///
|
||||
/// If the `Result` is `Ok`, the wrapped `Ok` responder is used to respond
|
||||
/// to the client. If the `Result` is `Err`, the wrapped error responder is
|
||||
|
|
Loading…
Reference in New Issue