From d82141458947f9ac9f78c4d45e8cc7d9139c7529 Mon Sep 17 00:00:00 2001 From: Samuel Marks Date: Tue, 8 Jan 2019 17:19:09 +1100 Subject: [PATCH] layouts/index.html: `method::Get` => `method::GET` --- layouts/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index b9e9d9d..9751979 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -137,8 +137,8 @@ fn hello(path: Path) -> impl Responder { fn main() { App::new() - .resource("/", |r| r.method(Method::Get).with(index)) - .resource("/hello/{name}", |r| r.method(Method::Get).with(hello)) + .resource("/", |r| r.method(Method::GET).with(index)) + .resource("/hello/{name}", |r| r.method(Method::GET).with(hello)) .finish(); }` "rust" "" }}