From c12669a43590c8e5349c5fc4e01600c5d5e9771d Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sun, 8 Oct 2017 00:14:52 -0700 Subject: [PATCH] update actix --- README.md | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 247392f25..4ab9f7566 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ impl Route for MyRoute { } fn main() { - let system = System::new("test".to_owned()); + let system = System::new("test"); // create routing map with `MyRoute` route let mut routes = RoutingMap::default(); diff --git a/src/main.rs b/src/main.rs index 71542ac50..f95f80b1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -108,7 +108,7 @@ impl Handler for MyWS { fn main() { let _ = env_logger::init(); - let sys = actix::System::new("http-example".to_owned()); + let sys = actix::System::new("http-example"); let mut routes = RoutingMap::default();