We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecbc00f + 51c752a commit 86acea4Copy full SHA for 86acea4
src/tools/clippy/clippy_lints/src/non_expressive_names.rs
@@ -15,6 +15,10 @@ declare_clippy_lint! {
15
/// ### What it does
16
/// Checks for names that are very similar and thus confusing.
17
///
18
+ /// Note: this lint looks for similar names throughout each
19
+ /// scope. To allow it, you need to allow it on the scope
20
+ /// level, not on the name that is reported.
21
+ ///
22
/// ### Why is this bad?
23
/// It's hard to distinguish between names that differ only
24
/// by a single character.
0 commit comments