mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Elide most 'a lifetimes
This commit is contained in:
parent
35dd1816a9
commit
54c036cd66
33 changed files with 126 additions and 126 deletions
|
@ -696,7 +696,7 @@ impl BlockFlow {
|
|||
}
|
||||
|
||||
/// Return this flow's fragment.
|
||||
pub fn fragment<'a>(&'a mut self) -> &'a mut Fragment {
|
||||
pub fn fragment(&mut self) -> &mut Fragment {
|
||||
&mut self.fragment
|
||||
}
|
||||
|
||||
|
@ -1624,11 +1624,11 @@ impl Flow for BlockFlow {
|
|||
FlowClass::Block
|
||||
}
|
||||
|
||||
fn as_mut_block<'a>(&'a mut self) -> &'a mut BlockFlow {
|
||||
fn as_mut_block(&mut self) -> &mut BlockFlow {
|
||||
self
|
||||
}
|
||||
|
||||
fn as_block<'a>(&'a self) -> &'a BlockFlow {
|
||||
fn as_block(&self) -> &BlockFlow {
|
||||
self
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue