Formatting.

This commit is contained in:
Josh Matthews 2023-05-28 23:25:41 -04:00
parent dbff26bce0
commit 0e8ac3fdac
81 changed files with 588 additions and 206 deletions

View file

@ -65,7 +65,11 @@ pub struct ObserverOptions {
}
impl MutationObserver {
fn new_with_proto(global: &Window, proto: Option<HandleObject>, callback: Rc<MutationCallback>) -> DomRoot<MutationObserver> {
fn new_with_proto(
global: &Window,
proto: Option<HandleObject>,
callback: Rc<MutationCallback>,
) -> DomRoot<MutationObserver> {
let boxed_observer = Box::new(MutationObserver::new_inherited(callback));
reflect_dom_object2(boxed_observer, global, proto)
}