diff options
Diffstat (limited to 'components/script/dom/rtcerror.rs')
-rw-r--r-- | components/script/dom/rtcerror.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/components/script/dom/rtcerror.rs b/components/script/dom/rtcerror.rs index bb1bb9c1225..d4cb4d454af 100644 --- a/components/script/dom/rtcerror.rs +++ b/components/script/dom/rtcerror.rs @@ -2,17 +2,18 @@ * 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 crate::dom::bindings::codegen::Bindings::RTCErrorBinding::RTCErrorDetailType; -use crate::dom::bindings::codegen::Bindings::RTCErrorBinding::RTCErrorInit; -use crate::dom::bindings::codegen::Bindings::RTCErrorBinding::RTCErrorMethods; +use dom_struct::dom_struct; +use js::rust::HandleObject; + +use crate::dom::bindings::codegen::Bindings::RTCErrorBinding::{ + RTCErrorDetailType, RTCErrorInit, RTCErrorMethods, +}; use crate::dom::bindings::reflector::{reflect_dom_object_with_proto, DomObject}; use crate::dom::bindings::root::{Dom, DomRoot}; use crate::dom::bindings::str::DOMString; use crate::dom::domexception::{DOMErrorName, DOMException}; use crate::dom::globalscope::GlobalScope; use crate::dom::window::Window; -use dom_struct::dom_struct; -use js::rust::HandleObject; #[dom_struct] pub struct RTCError { |