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.
1 parent 9341662 commit f840cfcCopy full SHA for f840cfc
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