Skip to content

Commit fa1fae7

Browse files
authored
Merge pull request #737 from joshtriplett/param-docs
Fix param documentation
2 parents 9341662 + f840cfc commit fa1fae7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/request.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,7 @@ impl<State> Request<State> {
264264

265265
/// Extract and parse a route parameter by name.
266266
///
267-
/// Returns the results of parsing the parameter according to the inferred
268-
/// output type `T`.
267+
/// Returns the parameter as a `&str`, borrowed from this `Request`.
269268
///
270269
/// The name should *not* include the leading `:` or the trailing `*` (if
271270
/// any).

0 commit comments

Comments
 (0)