From b3cf448761eb016a5c20470a757f0d5358e30e35 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Sat, 28 Sep 2024 16:30:31 -0400 Subject: [PATCH] Adjust comment --- clippy_lints/src/lifetimes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/lifetimes.rs b/clippy_lints/src/lifetimes.rs index a4555e003c4..37d244ff53d 100644 --- a/clippy_lints/src/lifetimes.rs +++ b/clippy_lints/src/lifetimes.rs @@ -628,8 +628,8 @@ fn report_extra_impl_lifetimes<'tcx>(cx: &LateContext<'tcx>, impl_: &'tcx Impl<' // An `impl` lifetime is elidable if it satisfies the following conditions: // - It is used exactly once. -// - That single use is not in a `GenericArg` in a `WherePredicate`. (Note that a `GenericArg` is -// different from a `GenericParam`.) +// - That single use is not in `GenericArgs` in a `WherePredicate`. (Note that `GenericArgs` are +// different from `GenericParam`s.) fn report_elidable_impl_lifetimes<'tcx>( cx: &LateContext<'tcx>, impl_: &'tcx Impl<'_>,