diff options
| author | Samuel Moelius <sam@moeli.us> | 2024-12-02 14:22:13 -0500 |
|---|---|---|
| committer | Samuel Moelius <sam@moeli.us> | 2024-12-02 14:26:31 -0500 |
| commit | 4a342df09b770931cf71c66be3a4ea560e5b4ed9 (patch) | |
| tree | be5aaba9f7105c36f8990c7b009187513bf5a48c | |
| parent | 66b15ad8539873487cb85911ee32482864628a65 (diff) | |
| download | rust-4a342df09b770931cf71c66be3a4ea560e5b4ed9.tar.gz rust-4a342df09b770931cf71c66be3a4ea560e5b4ed9.zip | |
Correct `report_elidable_impl_lifetimes` comment following #13752
| -rw-r--r-- | clippy_lints/src/lifetimes.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clippy_lints/src/lifetimes.rs b/clippy_lints/src/lifetimes.rs index ee2e1ee32bb..8b2eee34a97 100644 --- a/clippy_lints/src/lifetimes.rs +++ b/clippy_lints/src/lifetimes.rs @@ -643,8 +643,7 @@ 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 bounded type or `GenericArgs` in a `WherePredicate`. (Note that -// `GenericArgs` are different from `GenericParam`s.) +// - That single use is not in a `WherePredicate`. fn report_elidable_impl_lifetimes<'tcx>( cx: &LateContext<'tcx>, impl_: &'tcx Impl<'_>, |
