From 3dc82e234973347b28f08d2c762c4fde1cf0e4a2 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 10 Dec 2016 17:58:52 -0800 Subject: [PATCH] HTML escape < in Responder docs. --- lib/src/response/responder.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/response/responder.rs b/lib/src/response/responder.rs index dfbf2270..70d12b6e 100644 --- a/lib/src/response/responder.rs +++ b/lib/src/response/responder.rs @@ -82,20 +82,20 @@ impl<'a, T, E> IntoOutcome<(), (), (StatusCode, FreshHyperResponse<'a>)> for Res /// /// Responds with an empty body. /// -/// * **impl Responder for Option** +/// * **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 Responder for Result** +/// * **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 Responder for Result** +/// * **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