mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-31 05:42:15 +00:00
Merge branch 'master' of github.com:SergioBenitez/rocket
This commit is contained in:
commit
b911c0b73a
@ -11,7 +11,7 @@ fn hello(name: &str, age: i8) -> String {
|
||||
|
||||
#[get("/hello/<name>/<age>", rank = 2)]
|
||||
fn hi(name: &str, age: &str) -> String {
|
||||
format!("Hi {}! You age ({}) is kind of funky.", name, age)
|
||||
format!("Hi {}! Your age ({}) is kind of funky.", name, age)
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user