diff --git a/src/request.rs b/src/request.rs index 33a203a7e..4dca98043 100644 --- a/src/request.rs +++ b/src/request.rs @@ -264,8 +264,7 @@ impl Request { /// Extract and parse a route parameter by name. /// - /// Returns the results of parsing the parameter according to the inferred - /// output type `T`. + /// Returns the parameter as a `&str`, borrowed from this `Request`. /// /// The name should *not* include the leading `:` or the trailing `*` (if /// any).