aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/textmetrics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/textmetrics.rs')
-rw-r--r--components/script/dom/textmetrics.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/textmetrics.rs b/components/script/dom/textmetrics.rs
index 675fcf1aa1d..665588b86f1 100644
--- a/components/script/dom/textmetrics.rs
+++ b/components/script/dom/textmetrics.rs
@@ -2,12 +2,13 @@
* 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 crate::dom::bindings::codegen::Bindings::TextMetricsBinding::TextMetricsMethods;
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;
#[dom_struct]
#[allow(non_snake_case)]