1
Fork 0

Elide more lifetimes

This commit is contained in:
Michael Goulet 2023-12-26 02:12:33 +00:00
parent ae40f6a7ff
commit 4ae024c754
2 changed files with 12 additions and 12 deletions

View file

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