1
0
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:
Ralph Ursprung 2019-09-29 20:35:26 +02:00 committed by Yuki Okushi
parent ee703d070a
commit e4eb883a0d

View File

@ -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
) )
} }