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

@ -49,7 +49,11 @@ impl RTCErrorEvent {
cancelable: bool,
error: &RTCError,
) -> DomRoot<RTCErrorEvent> {
let event = reflect_dom_object2(Box::new(RTCErrorEvent::new_inherited(&error)), global, proto);
let event = reflect_dom_object2(
Box::new(RTCErrorEvent::new_inherited(&error)),
global,
proto,
);
{
let event = event.upcast::<Event>();
event.init_event(type_, bubbles, cancelable);