mirror of
https://github.com/actix/actix-web.git
synced 2024-11-15 21:31:24 +00:00
update actix
This commit is contained in:
parent
4102b9e1c5
commit
c12669a435
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue