1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-23 16:21:06 +01:00

update actix

This commit is contained in:
Nikolay Kim 2017-10-08 00:14:52 -07:00
parent 4102b9e1c5
commit c12669a435
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -108,7 +108,7 @@ impl Handler<ws::Message> 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();