1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 19:41:12 +00:00

fix doc test for State

This commit is contained in:
Nikolay Kim 2018-10-01 22:29:30 -07:00
parent 368f73513a
commit fdfadb52e1

View file

@ -530,7 +530,7 @@ where
/// }
///
/// /// 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)
/// }
///