aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/mem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/mem.rs')
-rw-r--r--components/script/mem.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/mem.rs b/components/script/mem.rs
index 6762c56a237..56401d8a51e 100644
--- a/components/script/mem.rs
+++ b/components/script/mem.rs
@@ -4,9 +4,10 @@
//! Routines for handling measuring the memory usage of arbitrary DOM nodes.
-use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
use std::os::raw::c_void;
+use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
+
/// Used by codegen to include the pointer to the `MallocSizeOf` implementation of each
/// IDL interface. This way we don't have to find the most-derived interface of DOM
/// objects by hand in code.