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!"))))) } } #