Elide most 'a lifetimes

This commit is contained in:
Manish Goregaokar 2015-09-04 08:55:51 +05:30
parent 35dd1816a9
commit 54c036cd66
33 changed files with 126 additions and 126 deletions

View file

@ -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
}