mirror of
https://github.com/actix/actix-web.git
synced 2025-02-06 14:22:21 +00:00
doc string
This commit is contained in:
parent
4b1a471b35
commit
9619698543
1 changed files with 2 additions and 0 deletions
|
@ -169,6 +169,8 @@ impl<S: 'static> Route<S> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set async handler function, use request extractor for parameters.
|
/// Set async handler function, use request extractor for parameters.
|
||||||
|
/// Also this method needs to be used if your handler function returns
|
||||||
|
/// `impl Future<>`
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # extern crate bytes;
|
/// # extern crate bytes;
|
||||||
|
|
Loading…
Reference in a new issue