Elide more lifetimes
This commit is contained in:
parent
ae40f6a7ff
commit
4ae024c754
2 changed files with 12 additions and 12 deletions
|
@ -64,7 +64,7 @@ impl<'p, 'tcx> PatternColumn<'p, 'tcx> {
|
|||
pcx.ctors_for_ty().split(pcx, column_ctors)
|
||||
}
|
||||
|
||||
fn iter<'b>(&'b self) -> impl Iterator<Item = &'p DeconstructedPat<'p, 'tcx>> + Captures<'b> {
|
||||
fn iter(&self) -> impl Iterator<Item = &'p DeconstructedPat<'p, 'tcx>> + Captures<'_> {
|
||||
self.patterns.iter().copied()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue