diff options
Diffstat (limited to 'components/script/dom/gamepadbutton.rs')
-rw-r--r-- | components/script/dom/gamepadbutton.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/gamepadbutton.rs b/components/script/dom/gamepadbutton.rs index e40e7fb4f05..a739dbebcf4 100644 --- a/components/script/dom/gamepadbutton.rs +++ b/components/script/dom/gamepadbutton.rs @@ -2,13 +2,15 @@ * 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 std::cell::Cell; + +use dom_struct::dom_struct; + use crate::dom::bindings::codegen::Bindings::GamepadButtonBinding::GamepadButtonMethods; use crate::dom::bindings::num::Finite; use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; use crate::dom::bindings::root::DomRoot; use crate::dom::globalscope::GlobalScope; -use dom_struct::dom_struct; -use std::cell::Cell; #[dom_struct] pub struct GamepadButton { |