Don't shadow lifetimes in layout.

This commit is contained in:
Ms2ger 2015-01-28 14:44:32 +01:00
parent cc2523eed5
commit 1b3e368bcd
3 changed files with 6 additions and 6 deletions

View file

@ -46,7 +46,7 @@ impl<'a> Deref for FlowRef {
}
}
impl<'a> DerefMut for FlowRef {
impl DerefMut for FlowRef {
fn deref_mut<'a>(&mut self) -> &mut (Flow + 'a) {
unsafe {
mem::transmute_copy::<raw::TraitObject, &mut (Flow + 'a)>(&self.object)