mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Remove now-unnecessary must_root and allow(unrooted_must_root) annotations
This commit is contained in:
parent
6df1c6d7e7
commit
611dc4bc70
28 changed files with 2 additions and 67 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue