about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoel Natividad <1980690+jqnatividad@users.noreply.github.com>2021-12-06 19:11:19 -0500
committerJoel Natividad <1980690+jqnatividad@users.noreply.github.com>2021-12-06 19:11:19 -0500
commitd91b91ae570c3ff0f4fc774b46d76bd732f1b446 (patch)
tree89e2c813557831f221933c1000a16182b778e4cb
parent48d939f5166a19529a9e4723ed3bf5bab2314563 (diff)
downloadrust-d91b91ae570c3ff0f4fc774b46d76bd732f1b446.tar.gz
rust-d91b91ae570c3ff0f4fc774b46d76bd732f1b446.zip
`needless_lifetimes` Known problems typo
fixes #8084
-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`.
     ///