aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-22 15:20:42 +0100
committerGitHub <[email protected]>2021-05-22 15:20:42 +0100
commita99de65573d59d6398f472b0d42daabe9e8a5410 (patch)
treeffaa695301e2483e8a3ec360f0dcec79281ab2c1 /xtask
parentd56e52402eedbd738b5161cd1e5a8c152cb65e21 (diff)
parentdc1577d58d0339b3d77739e33ae5e527ae6f6589 (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.rs4
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 {
348impl TidyDocs { 348impl 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>>();