mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-23 16:21:06 +01:00
update actix
This commit is contained in:
parent
4102b9e1c5
commit
c12669a435
@ -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 New Issue
Block a user