From 94b70e25e153ec31462817e679f5b599a454029c Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Thu, 5 Dec 2013 17:26:12 -0800 Subject: [PATCH] Remove unnecessary @mut from LineboxScanner --- src/components/main/layout/inline.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/main/layout/inline.rs b/src/components/main/layout/inline.rs index 9c43a05e851..69cfb2901bf 100644 --- a/src/components/main/layout/inline.rs +++ b/src/components/main/layout/inline.rs @@ -59,8 +59,7 @@ struct LineBox { struct LineboxScanner { floats: FloatContext, new_boxes: ~[@Box], - /// FIXME(pcwalton): `@mut`? :( - work_list: @mut RingBuf<@Box>, + work_list: RingBuf<@Box>, pending_line: LineBox, lines: ~[LineBox], cur_y: Au, @@ -73,7 +72,7 @@ impl LineboxScanner { LineboxScanner { floats: float_ctx, new_boxes: ~[], - work_list: @mut RingBuf::new(), + work_list: RingBuf::new(), pending_line: LineBox { range: Range::empty(), bounds: Rect(Point2D(Au::new(0), Au::new(0)), Size2D(Au::new(0), Au::new(0))),