aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools/actors/object.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-10-11 23:12:43 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-10-12 12:10:56 +0200
commitaa5761a5fb8c014b4f0e6e77f95a86299d8d94ef (patch)
tree5a4549541437b62f09b844379b60a4b50fe6de8b /components/devtools/actors/object.rs
parent796a8dc618e3bfd2a7523e84f95c9ef59693932a (diff)
downloadservo-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.rs2
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 {