mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +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
|
@ -95,7 +95,6 @@ impl PromiseRejectionEvent {
|
|||
}
|
||||
|
||||
impl PromiseRejectionEventMethods for PromiseRejectionEvent {
|
||||
#[allow(unrooted_must_root)]
|
||||
// https://html.spec.whatwg.org/multipage/#dom-promiserejectionevent-promise
|
||||
fn Promise(&self) -> Rc<Promise> {
|
||||
self.promise.clone()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue