diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-10-11 23:12:43 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-10-12 12:10:56 +0200 |
commit | aa5761a5fb8c014b4f0e6e77f95a86299d8d94ef (patch) | |
tree | 5a4549541437b62f09b844379b60a4b50fe6de8b /components/devtools/actors/object.rs | |
parent | 796a8dc618e3bfd2a7523e84f95c9ef59693932a (diff) | |
download | servo-aa5761a5fb8c014b4f0e6e77f95a86299d8d94ef.tar.gz servo-aa5761a5fb8c014b4f0e6e77f95a86299d8d94ef.zip |
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.
Diffstat (limited to 'components/devtools/actors/object.rs')
-rw-r--r-- | components/devtools/actors/object.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/devtools/actors/object.rs b/components/devtools/actors/object.rs index 81f972a763c..943adf8b5fc 100644 --- a/components/devtools/actors/object.rs +++ b/components/devtools/actors/object.rs @@ -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 { |