diff options
author | Jack Moffitt <jack@metajack.im> | 2014-08-04 23:02:30 -0600 |
---|---|---|
committer | Jack Moffitt <jack@metajack.im> | 2014-08-08 19:11:53 -0600 |
commit | 7a4321d649c5ccd99db379533d9b0e82eca57a1a (patch) | |
tree | 2980dad5f5f0360b543acf72d5555236abf29ead /src/components/layout/parallel.rs | |
parent | 62c9a779a956b8c53cab824b1a3c569dd983fadb (diff) | |
download | servo-7a4321d649c5ccd99db379533d9b0e82eca57a1a.tar.gz servo-7a4321d649c5ccd99db379533d9b0e82eca57a1a.zip |
Upgrade Rust.
Diffstat (limited to 'src/components/layout/parallel.rs')
-rw-r--r-- | src/components/layout/parallel.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/layout/parallel.rs b/src/components/layout/parallel.rs index 2583f345d02..aa184cafda6 100644 --- a/src/components/layout/parallel.rs +++ b/src/components/layout/parallel.rs @@ -218,7 +218,9 @@ fn recalc_style_for_node(unsafe_layout_node: UnsafeLayoutNode, let layout_context = unsafe { &mut **proxy.user_data() }; // Get a real layout node. - let node: LayoutNode = layout_node_from_unsafe_layout_node(&unsafe_layout_node); + let node: LayoutNode = unsafe { + layout_node_from_unsafe_layout_node(&unsafe_layout_node) + }; // Initialize layout data. // @@ -309,7 +311,9 @@ fn construct_flows(mut unsafe_layout_node: UnsafeLayoutNode, let layout_context = unsafe { &mut **proxy.user_data() }; // Get a real layout node. - let node: LayoutNode = layout_node_from_unsafe_layout_node(&unsafe_layout_node); + let node: LayoutNode = unsafe { + layout_node_from_unsafe_layout_node(&unsafe_layout_node) + }; // Construct flows for this node. { |