diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2019-01-03 16:29:49 -0800 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2019-01-04 15:05:07 -0800 |
commit | 611dc4bc70bf654ab52d9d88f29247c82b142c22 (patch) | |
tree | 7bc93e672a4d62ca7ab4eb28b2de68f3faeb9064 /components/script/dom/testbinding.rs | |
parent | 6df1c6d7e71794fda5dd7c49c538baa27bdcb1cb (diff) | |
download | servo-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.rs | 2 |
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()) } |