diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-22 15:20:42 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-22 15:20:42 +0100 |
commit | a99de65573d59d6398f472b0d42daabe9e8a5410 (patch) | |
tree | ffaa695301e2483e8a3ec360f0dcec79281ab2c1 /xtask | |
parent | d56e52402eedbd738b5161cd1e5a8c152cb65e21 (diff) | |
parent | dc1577d58d0339b3d77739e33ae5e527ae6f6589 (diff) |
Merge #8923
8923: Add even more docs r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/tidy.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs index e31cc2a67..f97e751c5 100644 --- a/xtask/src/tidy.rs +++ b/xtask/src/tidy.rs | |||
@@ -348,7 +348,7 @@ struct TidyDocs { | |||
348 | impl TidyDocs { | 348 | impl TidyDocs { |
349 | fn visit(&mut self, path: &Path, text: &str) { | 349 | fn visit(&mut self, path: &Path, text: &str) { |
350 | // Tests and diagnostic fixes don't need module level comments. | 350 | // Tests and diagnostic fixes don't need module level comments. |
351 | if is_exclude_dir(path, &["tests", "test_data", "fixes"]) { | 351 | if is_exclude_dir(path, &["tests", "test_data", "fixes", "grammar"]) { |
352 | return; | 352 | return; |
353 | } | 353 | } |
354 | 354 | ||
@@ -392,7 +392,7 @@ impl TidyDocs { | |||
392 | ) | 392 | ) |
393 | } | 393 | } |
394 | 394 | ||
395 | let poorly_documented = ["hir_expand", "mbe", "parser", "hir_ty"]; | 395 | let poorly_documented = ["hir_ty"]; |
396 | 396 | ||
397 | let mut has_fixmes = | 397 | let mut has_fixmes = |
398 | poorly_documented.iter().map(|it| (*it, false)).collect::<HashMap<&str, bool>>(); | 398 | poorly_documented.iter().map(|it| (*it, false)).collect::<HashMap<&str, bool>>(); |