From 0dc64daed9c3e6908b737a6e1b65e89d19ea9b20 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Tue, 28 Jun 2016 15:20:48 -0700 Subject: [PATCH] Clean up unnecessary code noise --- components/layout/construct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 40ffdc42047..c7dcf0126c3 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -949,7 +949,7 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode> // Modify the style as necessary. (See the comment in // `properties::modify_style_for_replaced_content()`.) - let mut style = (*node.style(self.style_context())).clone(); + let mut style = node.style(self.style_context()).clone(); properties::modify_style_for_replaced_content(&mut style); // If this is generated content, then we need to initialize the accumulator with the