mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Elide most 'a lifetimes
This commit is contained in:
parent
35dd1816a9
commit
54c036cd66
33 changed files with 126 additions and 126 deletions
|
@ -36,15 +36,15 @@ impl Flow for MulticolFlow {
|
|||
FlowClass::Multicol
|
||||
}
|
||||
|
||||
fn as_mut_multicol<'a>(&'a mut self) -> &'a mut MulticolFlow {
|
||||
fn as_mut_multicol(&mut self) -> &mut MulticolFlow {
|
||||
self
|
||||
}
|
||||
|
||||
fn as_mut_block<'a>(&'a mut self) -> &'a mut BlockFlow {
|
||||
fn as_mut_block(&mut self) -> &mut BlockFlow {
|
||||
&mut self.block_flow
|
||||
}
|
||||
|
||||
fn as_block<'a>(&'a self) -> &'a BlockFlow {
|
||||
fn as_block(&self) -> &BlockFlow {
|
||||
&self.block_flow
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue