Remove usage of unstable box syntax, except in the script crate

… because there’s a lot of it,
and script still uses any other unstable features anyway.
This commit is contained in:
Simon Sapin 2017-10-11 23:12:43 +02:00
parent 796a8dc618
commit aa5761a5fb
40 changed files with 195 additions and 195 deletions

View file

@ -34,7 +34,7 @@ impl ObjectActor {
};
registry.register_script_actor(uuid, name.clone());
registry.register_later(box actor);
registry.register_later(Box::new(actor));
name
} else {