needless_lifetimes Known problems typo

fixes #8084
This commit is contained in:
Joel Natividad 2021-12-06 19:11:19 -05:00
parent 48d939f516
commit d91b91ae57

View File

@ -29,7 +29,7 @@ declare_clippy_lint! {
///
/// ### Known problems
/// - We bail out if the function has a `where` clause where lifetimes
/// are mentioned due to potenial false positives.
/// are mentioned due to potential false positives.
/// - Lifetime bounds such as `impl Foo + 'a` and `T: 'a` must be elided with the
/// placeholder notation `'_` because the fully elided notation leaves the type bound to `'static`.
///