From 91ffab8f6ea13ef9f26d80c622bc181918054c1d Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 16 Dec 2017 07:30:53 -0800 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 473b517d2..74dbfb403 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ fn main() { HttpServer::new( || Application::new() .resource("/{name}", |r| r.f(index))) - .serve::<_, ()>("127.0.0.1:8080"); + .serve("127.0.0.1:8080"); } ```