aboutsummaryrefslogtreecommitdiff
path: root/examples/tutorial01/polls/views.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial01/polls/views.rs')
-rw-r--r--examples/tutorial01/polls/views.rs2
1 files changed, 1 insertions, 1 deletions
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.")
}