We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9341662 + f840cfc commit fa1fae7Copy full SHA for fa1fae7
src/request.rs
@@ -264,8 +264,7 @@ impl<State> Request<State> {
264
265
/// Extract and parse a route parameter by name.
266
///
267
- /// Returns the results of parsing the parameter according to the inferred
268
- /// output type `T`.
+ /// Returns the parameter as a `&str`, borrowed from this `Request`.
269
270
/// The name should *not* include the leading `:` or the trailing `*` (if
271
/// any).
0 commit comments