diff options
Diffstat (limited to 'components/script/dom/rtcdatachannelevent.rs')
-rw-r--r-- | components/script/dom/rtcdatachannelevent.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/components/script/dom/rtcdatachannelevent.rs b/components/script/dom/rtcdatachannelevent.rs index 7008f4f630e..d104315d103 100644 --- a/components/script/dom/rtcdatachannelevent.rs +++ b/components/script/dom/rtcdatachannelevent.rs @@ -2,9 +2,14 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +use dom_struct::dom_struct; +use js::rust::HandleObject; +use servo_atoms::Atom; + use crate::dom::bindings::codegen::Bindings::EventBinding::EventMethods; -use crate::dom::bindings::codegen::Bindings::RTCDataChannelEventBinding::RTCDataChannelEventInit; -use crate::dom::bindings::codegen::Bindings::RTCDataChannelEventBinding::RTCDataChannelEventMethods; +use crate::dom::bindings::codegen::Bindings::RTCDataChannelEventBinding::{ + RTCDataChannelEventInit, RTCDataChannelEventMethods, +}; use crate::dom::bindings::inheritance::Castable; use crate::dom::bindings::reflector::{reflect_dom_object_with_proto, DomObject}; use crate::dom::bindings::root::{Dom, DomRoot}; @@ -13,9 +18,6 @@ use crate::dom::event::Event; use crate::dom::globalscope::GlobalScope; use crate::dom::rtcdatachannel::RTCDataChannel; use crate::dom::window::Window; -use dom_struct::dom_struct; -use js::rust::HandleObject; -use servo_atoms::Atom; #[dom_struct] pub struct RTCDataChannelEvent { |