From deaa6e7796e217a3f5e1b9bb9dde53750a8f8e3c Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 28 Apr 2017 15:10:09 -0500 Subject: [PATCH] Fix the SocketAddr request guard docs: it's not unconditional. --- lib/src/request/from_request.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/request/from_request.rs b/lib/src/request/from_request.rs index f6ea9052..75aba02c 100644 --- a/lib/src/request/from_request.rs +++ b/lib/src/request/from_request.rs @@ -105,8 +105,6 @@ impl IntoOutcome for Result { /// Extracts the remote address of the incoming request as a `SocketAddr`. /// If the remote address is not known, the request is forwarded. /// -/// _This implementation always returns successfully._ -/// /// * **Option<T>** _where_ **T: FromRequest** /// /// The type `T` is derived from the incoming request using `T`'s