]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/non_expressive_names.rs
Merge remote-tracking branch 'upstream/master' into rustup
[rust.git] / clippy_lints / src / non_expressive_names.rs
index 03fddd207ecb99cbbdb2c5ef159d85eecc2865ca..9f6917c146f633d6fb58279644ee7e626fe624f0 100644 (file)
     /// ### 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.