Skip to content

Commit 8918a9d

Browse files
committed
Fix needless_lifetimes in stable_mir
1 parent fd1f8aa commit 8918a9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/stable_mir/src/mir/visit.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ pub trait MirVisitor {
7676
self.super_place(place, ptx, location)
7777
}
7878

79-
fn visit_projection_elem<'a>(
79+
fn visit_projection_elem(
8080
&mut self,
81-
place_ref: PlaceRef<'a>,
81+
place_ref: PlaceRef<'_>,
8282
elem: &ProjectionElem,
8383
ptx: PlaceContext,
8484
location: Location,

0 commit comments

Comments
 (0)