mirror of https://github.com/rwf2/Rocket.git
Fix the SocketAddr request guard docs: it's not unconditional.
This commit is contained in:
parent
f0a7206694
commit
deaa6e7796
|
@ -105,8 +105,6 @@ impl<S, E> IntoOutcome<S, (Status, E), ()> for Result<S, E> {
|
|||
/// 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
|
||||
|
|
Loading…
Reference in New Issue