diff --git a/README.md b/README.md index de3b2e92..7b6f7db7 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ application: extern crate rocket; use rocket::Rocket; -#[GET(path = "//")] +#[get("//")] fn hello(name: &str, age: u8) -> String { format!("Hello, {} year old named {}!", age, name) }