aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow_ref.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-02 12:45:28 +0100
committerJosh Matthews <josh@joshmatthews.net>2015-01-08 09:58:46 -0500
commit16c7060bc8ff91527ae97f8a3feee5706747b9c5 (patch)
tree0cc29f2cc50c729d3a8f9521a22991fad67b9afd /components/layout/flow_ref.rs
parentcf616b90a236f88058dbad74b568b4d4379d2829 (diff)
downloadservo-16c7060bc8ff91527ae97f8a3feee5706747b9c5.tar.gz
servo-16c7060bc8ff91527ae97f8a3feee5706747b9c5.zip
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
Diffstat (limited to 'components/layout/flow_ref.rs')
-rw-r--r--components/layout/flow_ref.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/layout/flow_ref.rs b/components/layout/flow_ref.rs
index e46c42d4844..67f306d4508 100644
--- a/components/layout/flow_ref.rs
+++ b/components/layout/flow_ref.rs
@@ -34,17 +34,17 @@ impl FlowRef {
}
impl<'a> Deref<Flow + 'a> for FlowRef {
- fn deref(&self) -> &Flow + 'a {
+ fn deref(&self) -> &(Flow + 'a) {
unsafe {
- mem::transmute_copy::<raw::TraitObject, &Flow + 'a>(&self.object)
+ mem::transmute_copy::<raw::TraitObject, &(Flow + 'a)>(&self.object)
}
}
}
impl<'a> DerefMut<Flow + 'a> for FlowRef {
- fn deref_mut<'a>(&mut self) -> &mut Flow + 'a {
+ fn deref_mut<'a>(&mut self) -> &mut (Flow + 'a) {
unsafe {
- mem::transmute_copy::<raw::TraitObject, &mut Flow + 'a>(&self.object)
+ mem::transmute_copy::<raw::TraitObject, &mut (Flow + 'a)>(&self.object)
}
}
}