mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Remove unnecessary @mut from LineboxScanner
This commit is contained in:
parent
e8da737322
commit
94b70e25e1
1 changed files with 2 additions and 3 deletions
|
@ -59,8 +59,7 @@ struct LineBox {
|
||||||
struct LineboxScanner {
|
struct LineboxScanner {
|
||||||
floats: FloatContext,
|
floats: FloatContext,
|
||||||
new_boxes: ~[@Box],
|
new_boxes: ~[@Box],
|
||||||
/// FIXME(pcwalton): `@mut`? :(
|
work_list: RingBuf<@Box>,
|
||||||
work_list: @mut RingBuf<@Box>,
|
|
||||||
pending_line: LineBox,
|
pending_line: LineBox,
|
||||||
lines: ~[LineBox],
|
lines: ~[LineBox],
|
||||||
cur_y: Au,
|
cur_y: Au,
|
||||||
|
@ -73,7 +72,7 @@ impl LineboxScanner {
|
||||||
LineboxScanner {
|
LineboxScanner {
|
||||||
floats: float_ctx,
|
floats: float_ctx,
|
||||||
new_boxes: ~[],
|
new_boxes: ~[],
|
||||||
work_list: @mut RingBuf::new(),
|
work_list: RingBuf::new(),
|
||||||
pending_line: LineBox {
|
pending_line: LineBox {
|
||||||
range: Range::empty(),
|
range: Range::empty(),
|
||||||
bounds: Rect(Point2D(Au::new(0), Au::new(0)), Size2D(Au::new(0), Au::new(0))),
|
bounds: Rect(Point2D(Au::new(0), Au::new(0)), Size2D(Au::new(0), Au::new(0))),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue