From df9b71bee7055b058e13f7a1b33a65e5226c0cda Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Mon, 8 Aug 2016 18:35:24 -0700 Subject: [PATCH] Updated README to use method specific decorator. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c259654e..de3b2e92 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ application: extern crate rocket; use rocket::Rocket; -#[route(GET, path = "//")] +#[GET(path = "//")] fn hello(name: &str, age: u8) -> String { format!("Hello, {} year old named {}!", age, name) }