From 1107fdec9d91b47af1afa9b72bd73c0cefa588f0 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 21 Mar 2018 21:02:57 -0700 Subject: [PATCH] fix guide --- guide/src/qs_4.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/guide/src/qs_4.md b/guide/src/qs_4.md index a1a752caf..91f2e53e1 100644 --- a/guide/src/qs_4.md +++ b/guide/src/qs_4.md @@ -256,8 +256,7 @@ fn index(req: HttpRequest) -> Result> Ok(Box::new( result(HttpResponse::Ok() .content_type("text/html") - .body(format!("Hello!")))) - .responder()) + .body(format!("Hello!"))))) } } #