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"); } ```