From 582124d59afa438e2cb88cc024d6b19232236e1e Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Sat, 12 Jun 2021 21:06:06 -0600 Subject: stub out basic implementation --- examples/tutorial01/polls/views.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tutorial01/polls/views.rs') diff --git a/examples/tutorial01/polls/views.rs b/examples/tutorial01/polls/views.rs index 8678e97..23b740d 100644 --- a/examples/tutorial01/polls/views.rs +++ b/examples/tutorial01/polls/views.rs @@ -1,5 +1,5 @@ use tosin::http::{Request, Response}; -pub async fn index(request: Request) -> Response { +pub fn index(request: Request) -> Response { Response("Hello, world. You're at the polls index.") } -- cgit v1.2.3