Fix some "unnecessary parentheses" warnings

This commit is contained in:
Simon Sapin 2018-01-21 09:02:56 +01:00
parent 6e3fba97bd
commit 897a5b39c5
8 changed files with 9 additions and 9 deletions

View file

@ -868,7 +868,7 @@ pub fn process_node_overflow_request<N: LayoutNode>(requested_node: N) -> NodeOv
let style = &*layout_node.as_element().unwrap().resolved_style();
let style_box = style.get_box();
NodeOverflowResponse(Some((Point2D::new(style_box.overflow_x, style_box.overflow_y))))
NodeOverflowResponse(Some(Point2D::new(style_box.overflow_x, style_box.overflow_y)))
}
pub fn process_margin_style_query<N: LayoutNode>(requested_node: N)