Adjust comment

This commit is contained in:
Samuel Moelius 2024-09-28 16:30:31 -04:00
parent 51b527266e
commit b3cf448761

View File

@ -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<'_>,