Skip to content

Commit 3694975

Browse files
committed
Remove some unnecessary explicit lifetimes
1 parent 1666ab0 commit 3694975

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_hir_typeck/src/fn_ctxt

1 file changed

+2
-2
lines changed

compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ impl<'a, 'tcx> Deref for FnCtxt<'a, 'tcx> {
213213
}
214214
}
215215

216-
impl<'a, 'tcx> HirTyLowerer<'tcx> for FnCtxt<'a, 'tcx> {
217-
fn tcx<'b>(&'b self) -> TyCtxt<'tcx> {
216+
impl<'tcx> HirTyLowerer<'tcx> for FnCtxt<'_, 'tcx> {
217+
fn tcx(&self) -> TyCtxt<'tcx> {
218218
self.tcx
219219
}
220220

0 commit comments

Comments
 (0)