mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Don't shadow lifetimes in layout.
This commit is contained in:
parent
cc2523eed5
commit
1b3e368bcd
3 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue