From 8c6eb08dcbc163cdca836bec21f89210a133085e Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Wed, 7 May 2014 11:40:32 -0700 Subject: Make range generic --- src/components/main/layout/construct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/main/layout/construct.rs') diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs index e7523039551..a2236b6753d 100644 --- a/src/components/main/layout/construct.rs +++ b/src/components/main/layout/construct.rs @@ -189,7 +189,7 @@ impl InlineBoxAccumulator { fn from_inline_node(node: &ThreadSafeLayoutNode) -> InlineBoxAccumulator { let mut boxes = InlineBoxes::new(); - boxes.map.push(node.style().clone(), Range::new(0, 0)); + boxes.map.push(node.style().clone(), Range::new(0u, 0)); InlineBoxAccumulator { boxes: boxes, has_enclosing_range: true, -- cgit v1.2.3