1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01: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");
} }
``` ```