From a127a064807ef8a0a6d898528b971b738e3cdc9e Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sun, 4 Sep 2016 04:10:35 -0700 Subject: [PATCH] Update README.md example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }