diff options
Diffstat (limited to 'components/layout/display_list/items.rs')
-rw-r--r-- | components/layout/display_list/items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/display_list/items.rs b/components/layout/display_list/items.rs index 58a90447849..9f1d6d76df5 100644 --- a/components/layout/display_list/items.rs +++ b/components/layout/display_list/items.rs @@ -109,7 +109,7 @@ impl DisplayList { /// stacking context. pub fn bounds(&self) -> LayoutRect { match self.list.get(0) { - Some(&DisplayItem::PushStackingContext(ref item)) => item.stacking_context.bounds, + Some(DisplayItem::PushStackingContext(item)) => item.stacking_context.bounds, Some(_) => unreachable!("Root element of display list not stacking context."), None => LayoutRect::zero(), } |