1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 03:21:08 +00:00

fix order of name and id in readme example

This commit is contained in:
Benjamin Gröber 2018-05-10 18:12:59 +02:00 committed by GitHub
parent 5f5ddc8f01
commit 2f244ea028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ extern crate actix_web;
use actix_web::{http, server, App, Path};
fn index(info: Path<(u32, String)>) -> String {
format!("Hello {}! id:{}", info.0, info.1)
format!("Hello {}! id:{}", info.1, info.0)
}
fn main() {