aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/range.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/util/range.rs')
-rw-r--r--components/util/range.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/range.rs b/components/util/range.rs
index 07e66b28a6f..8149a1f424c 100644
--- a/components/util/range.rs
+++ b/components/util/range.rs
@@ -136,7 +136,7 @@ macro_rules! int_range_index {
}
/// A range of indices
-#[derive(Clone, RustcEncodable, Copy, Deserialize, Serialize)]
+#[derive(Clone, Copy, Deserialize, HeapSizeOf, RustcEncodable, Serialize)]
pub struct Range<I> {
begin: I,
length: I,