mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 08:22:59 +01:00
fix doc test for State
This commit is contained in:
parent
368f73513a
commit
fdfadb52e1
@ -530,7 +530,7 @@ where
|
|||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
/// /// extract path info using serde
|
/// /// extract path info using serde
|
||||||
/// fn index(state: State<MyApp>, path: Path<Info>)) -> String {
|
/// fn index(state: State<MyApp>, path: Path<Info>) -> String {
|
||||||
/// format!("{} {}!", state.msg, path.username)
|
/// format!("{} {}!", state.msg, path.username)
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user