mirror of
https://github.com/actix/actix-website
synced 2025-02-02 12:19:04 +01:00
fix minor typo in output of extractors example (#114)
this has no effect on the actual functionality, it just fixes a typo which was hard to overlook :)
This commit is contained in:
parent
ee703d070a
commit
e4eb883a0d
@ -9,7 +9,7 @@ struct Info {
|
|||||||
|
|
||||||
fn index((path, query): (web::Path<(u32, String)>, web::Query<Info>)) -> String {
|
fn index((path, query): (web::Path<(u32, String)>, web::Query<Info>)) -> String {
|
||||||
format!(
|
format!(
|
||||||
"Welcome {}, friend {}, useri {}!",
|
"Welcome {}, friend {}, userid {}!",
|
||||||
query.username, path.1, path.0
|
query.username, path.1, path.0
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user