aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2016-06-28 15:20:48 -0700
committerMichael Howell <michael@notriddle.com>2016-06-28 15:20:48 -0700
commit0dc64daed9c3e6908b737a6e1b65e89d19ea9b20 (patch)
treeefdefcc411a36c4f7277269f98be8897c0f095d1 /components/layout/construct.rs
parenta3f43076b6b30491dcb4d9b8cc1ae32261a82f99 (diff)
downloadservo-0dc64daed9c3e6908b737a6e1b65e89d19ea9b20.tar.gz
servo-0dc64daed9c3e6908b737a6e1b65e89d19ea9b20.zip
Clean up unnecessary code noise
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
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