account for doc visibility

This commit is contained in:
Andre Bogus
2019-10-02 17:19:30 +02:00
parent 737f0a6bb5
commit e3f143ff0a
10 changed files with 151 additions and 27 deletions

View File

@@ -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()