aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/construct.rs
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2014-07-21 07:37:24 -0600
committerJack Moffitt <jack@metajack.im>2014-08-02 21:11:47 -0600
commitb91e6f30e063cbcea4ffd750da8385ce448de797 (patch)
tree3e762f7866e29379810ac1e612f7942979e21b87 /src/components/layout/construct.rs
parent8b6f62c195dd7e42d0b6a18f2ced6fa16bc29faa (diff)
downloadservo-b91e6f30e063cbcea4ffd750da8385ce448de797.tar.gz
servo-b91e6f30e063cbcea4ffd750da8385ce448de797.zip
Upgrade Rust.
Diffstat (limited to 'src/components/layout/construct.rs')
-rw-r--r--src/components/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/layout/construct.rs b/src/components/layout/construct.rs
index 5e93b0136ad..a780c073f17 100644
--- a/src/components/layout/construct.rs
+++ b/src/components/layout/construct.rs
@@ -209,7 +209,7 @@ impl<'a> FlowConstructor<'a> {
fn font_context<'a>(&'a mut self) -> &'a mut FontContext {
match self.font_context {
Some(ref mut font_context) => {
- let font_context: &mut FontContext = *font_context;
+ let font_context: &mut FontContext = &mut **font_context;
font_context
}
None => self.layout_context.font_context(),