Add note to clippy::non_expressive_names doc

This commit is contained in:
Steve Heindel 2022-09-21 19:45:57 -04:00
parent db4b4d3bec
commit 51c752a375

View File

@ -15,6 +15,10 @@
/// ### What it does
/// Checks for names that are very similar and thus confusing.
///
/// Note: this lint looks for similar names throughout each
/// scope. To allow it, you need to allow it on the scope
/// level, not on the name that is reported.
///
/// ### Why is this bad?
/// It's hard to distinguish between names that differ only
/// by a single character.