about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-05-31 13:52:37 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-06-05 09:16:55 +0000
commit4146b8280a70212ac8cec8ce69e5aff2a4a74577 (patch)
treecc9ba3cc014df89a51e30108b0b27ec185dcf818
parent78706740d57d54a6da8abc8eda148c3bcdb64d40 (diff)
downloadrust-4146b8280a70212ac8cec8ce69e5aff2a4a74577.tar.gz
rust-4146b8280a70212ac8cec8ce69e5aff2a4a74577.zip
Remove some unnecessary explicit lifetimes
-rw-r--r--compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs
index 6e4a464905f..954a0956b70 100644
--- a/compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs
+++ b/compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs
@@ -213,8 +213,8 @@ impl<'a, 'tcx> Deref for FnCtxt<'a, 'tcx> {
     }
 }
 
-impl<'a, 'tcx> HirTyLowerer<'tcx> for FnCtxt<'a, 'tcx> {
-    fn tcx<'b>(&'b self) -> TyCtxt<'tcx> {
+impl<'tcx> HirTyLowerer<'tcx> for FnCtxt<'_, 'tcx> {
+    fn tcx(&self) -> TyCtxt<'tcx> {
         self.tcx
     }