aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/mem.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-09-11 21:16:54 +0200
committerGitHub <noreply@github.com>2023-09-11 19:16:54 +0000
commitaad2dccc9c9f6b89922c07933cfa7087a8cd1ec4 (patch)
tree68dec1a9d53f4ed564843a9580fba70bf90dbef1 /components/script/mem.rs
parent413da4ca69d3013528c09bbaf38629a72384372d (diff)
downloadservo-aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4.tar.gz
servo-aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4.zip
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting * Reformat all imports
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.