about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-12-07 00:45:59 +0000
committerbors <bors@rust-lang.org>2021-12-07 00:45:59 +0000
commit1c7df44e2d096f6538dbb2b7d8a23bd330131a8a (patch)
treee695caf105e628f3401027b071ab72d5e11a00ce
parentf615ea474b7658c5dac0e4020b6990b4fd509f83 (diff)
parentd91b91ae570c3ff0f4fc774b46d76bd732f1b446 (diff)
downloadrust-1c7df44e2d096f6538dbb2b7d8a23bd330131a8a.tar.gz
rust-1c7df44e2d096f6538dbb2b7d8a23bd330131a8a.zip
Auto merge of #8085 - jqnatividad:8084-needless_lifetimes_typo, r=giraffate
`needless_lifetimes` Known problems typo

fixes #8084

[needless_lifetimes]

changelog: none
-rw-r--r--clippy_lints/src/lifetimes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/lifetimes.rs b/clippy_lints/src/lifetimes.rs
index fad3343d128..0e2b78609c2 100644
--- a/clippy_lints/src/lifetimes.rs
+++ b/clippy_lints/src/lifetimes.rs
@@ -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`.
     ///