mirror of
https://github.com/servo/servo
synced 2026-05-11 17:37:21 +02:00
Make layout task fields private For https://github.com/servo/servo/issues/8471 The second commit I'm slightly less sure about but with `chan` made private this warning was shown: ``` components/layout/layout_task.rs:152:5: 152:21 warning: struct field is never used: `chan`, #[warn(dead_code)] on by default ``` There might be some cleanup around `layout_chan` in https://github.com/hfaulds/servo/blob/make-layout-task-fields-private/components/layout/layout_task.rs#L244-L261 as well but that was a bit beyond me. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8485) <!-- Reviewable:end -->