Skip to content

Commit b3cf448

Browse files
committed
Adjust comment
1 parent 51b5272 commit b3cf448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/lifetimes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,8 @@ fn report_extra_impl_lifetimes<'tcx>(cx: &LateContext<'tcx>, impl_: &'tcx Impl<'
628628

629629
// An `impl` lifetime is elidable if it satisfies the following conditions:
630630
// - It is used exactly once.
631-
// - That single use is not in a `GenericArg` in a `WherePredicate`. (Note that a `GenericArg` is
632-
// different from a `GenericParam`.)
631+
// - That single use is not in `GenericArgs` in a `WherePredicate`. (Note that `GenericArgs` are
632+
// different from `GenericParam`s.)
633633
fn report_elidable_impl_lifetimes<'tcx>(
634634
cx: &LateContext<'tcx>,
635635
impl_: &'tcx Impl<'_>,

0 commit comments

Comments
 (0)