aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-01-03 16:29:49 -0800
committerManish Goregaokar <manishsmail@gmail.com>2019-01-04 15:05:07 -0800
commit611dc4bc70bf654ab52d9d88f29247c82b142c22 (patch)
tree7bc93e672a4d62ca7ab4eb28b2de68f3faeb9064 /components/script/dom/testbinding.rs
parent6df1c6d7e71794fda5dd7c49c538baa27bdcb1cb (diff)
downloadservo-611dc4bc70bf654ab52d9d88f29247c82b142c22.tar.gz
servo-611dc4bc70bf654ab52d9d88f29247c82b142c22.zip
Remove now-unnecessary must_root and allow(unrooted_must_root) annotations
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r--components/script/dom/testbinding.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/testbinding.rs b/components/script/dom/testbinding.rs
index 26408cb80b9..14b607d790d 100644
--- a/components/script/dom/testbinding.rs
+++ b/components/script/dom/testbinding.rs
@@ -1006,7 +1006,6 @@ impl TestBindingMethods for TestBinding {
);
}
- #[allow(unrooted_must_root)]
fn PromiseNativeHandler(
&self,
resolve: Option<Rc<SimpleCallback>>,
@@ -1041,7 +1040,6 @@ impl TestBindingMethods for TestBinding {
}
}
- #[allow(unrooted_must_root)]
fn PromiseAttribute(&self) -> Rc<Promise> {
Promise::new(&self.global())
}