diff options
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()) } |