1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-23 00:26:34 +00:00

update readme

This commit is contained in:
Nikolay Kim 2017-12-16 07:30:53 -08:00
parent b1f33e29ec
commit 91ffab8f6e

View file

@ -13,7 +13,7 @@ fn main() {
HttpServer::new( HttpServer::new(
|| Application::new() || Application::new()
.resource("/{name}", |r| r.f(index))) .resource("/{name}", |r| r.f(index)))
.serve::<_, ()>("127.0.0.1:8080"); .serve("127.0.0.1:8080");
} }
``` ```