diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 08:55:51 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 08:55:51 +0530 |
commit | 54c036cd66f6c9a59610fb804d57a63ab7aad19f (patch) | |
tree | 08d14c8c8e0ed17ca9da314e22b9ac32d73aaf00 /components/layout/table.rs | |
parent | 35dd1816a9ea90484ae91ecce3a3e7eb094227c1 (diff) | |
download | servo-54c036cd66f6c9a59610fb804d57a63ab7aad19f.tar.gz servo-54c036cd66f6c9a59610fb804d57a63ab7aad19f.zip |
Elide most 'a lifetimes
Diffstat (limited to 'components/layout/table.rs')
-rw-r--r-- | components/layout/table.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/layout/table.rs b/components/layout/table.rs index 50ce06c8959..b214e6d3ddc 100644 --- a/components/layout/table.rs +++ b/components/layout/table.rs @@ -191,15 +191,15 @@ impl Flow for TableFlow { FlowClass::Table } - fn as_mut_table<'a>(&'a mut self) -> &'a mut TableFlow { + fn as_mut_table(&mut self) -> &mut TableFlow { self } - fn as_table<'a>(&'a self) -> &'a TableFlow { + fn as_table(&self) -> &TableFlow { self } - fn as_mut_block<'a>(&'a mut self) -> &'a mut BlockFlow { + fn as_mut_block(&mut self) -> &mut BlockFlow { &mut self.block_flow } @@ -211,11 +211,11 @@ impl Flow for TableFlow { self.block_flow.mark_as_root(); } - fn column_intrinsic_inline_sizes<'a>(&'a mut self) -> &'a mut Vec<ColumnIntrinsicInlineSize> { + fn column_intrinsic_inline_sizes(&mut self) -> &mut Vec<ColumnIntrinsicInlineSize> { &mut self.column_intrinsic_inline_sizes } - fn column_computed_inline_sizes<'a>(&'a mut self) -> &'a mut Vec<ColumnComputedInlineSize> { + fn column_computed_inline_sizes(&mut self) -> &mut Vec<ColumnComputedInlineSize> { &mut self.column_computed_inline_sizes } |