about summary refs log tree commit diff
path: root/clippy_lints/src/error_impl_error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_lints/src/error_impl_error.rs')
-rw-r--r--clippy_lints/src/error_impl_error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/error_impl_error.rs b/clippy_lints/src/error_impl_error.rs
index 8dbb47fadc5..8e49138cd26 100644
--- a/clippy_lints/src/error_impl_error.rs
+++ b/clippy_lints/src/error_impl_error.rs
@@ -12,7 +12,7 @@ declare_clippy_lint! {
     /// ### What it does
     /// Checks for types named `Error` that implement `Error`.
     ///
-    /// ### Why is this bad?
+    /// ### Why restrict this?
     /// It can become confusing when a codebase has 20 types all named `Error`, requiring either
     /// aliasing them in the `use` statement or qualifying them like `my_module::Error`. This
     /// hinders comprehension, as it requires you to memorize every variation of importing `Error`