From 663492407d1732015b6c1f2a6ba9ac2b3fce0d88 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sun, 15 Oct 2017 14:19:50 -0700 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9c07b31..6e2d9236 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,9 @@ fn main() { // start http server HttpServer::new( - // create routing map with `MyRoute` route + // create routing map RoutingMap::default() + // handler for "GET /" .resource("/", |r| r.handler(Method::GET, |req, payload, state| { httpcodes::HTTPOk @@ -62,6 +63,5 @@ fn main() { }); system.run(); - println!("Done"); } ```