about summary refs log tree commit diff
path: root/clippy_dev
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-08 07:11:26 +0000
committerbors <bors@rust-lang.org>2019-10-08 07:11:26 +0000
commitb690cdb1e77e6cc9a4a232d58e27552408fab21d (patch)
treea015043b8fdbc909a424fdb9133e7b3fd87f6af8 /clippy_dev
parentbbad77a12a117937fcaa98bab4ab87805419c391 (diff)
parente3f143ff0abfb10ffdcd53e1dba27322e76dc1f6 (diff)
downloadrust-b690cdb1e77e6cc9a4a232d58e27552408fab21d.tar.gz
rust-b690cdb1e77e6cc9a4a232d58e27552408fab21d.zip
Auto merge of #4611 - rust-lang:doc-visibility, r=flip1995
account for doc visibility

This fixes #4608.

Also I noticed that the lint failed to look at trait and impl items. There's a small bit of fallout in the code, too, but not enough to warrant its own commit.

changelog: check docs of trait items and impl items, also make `missing_safety_doc` account for visibility
Diffstat (limited to 'clippy_dev')
-rw-r--r--clippy_dev/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs
index b53a5579971..7df7109c75f 100644
--- a/clippy_dev/src/lib.rs
+++ b/clippy_dev/src/lib.rs
@@ -57,7 +57,7 @@ impl Lint {
         lints.filter(|l| l.deprecation.is_none() && !l.is_internal())
     }
 
-    /// Returns the lints in a HashMap, grouped by the different lint groups
+    /// Returns the lints in a `HashMap`, grouped by the different lint groups
     pub fn by_lint_group(lints: &[Self]) -> HashMap<String, Vec<Self>> {
         lints
             .iter()