aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-05-22 15:20:22 +0100
committerAleksey Kladov <[email protected]>2021-05-22 15:20:22 +0100
commitdc1577d58d0339b3d77739e33ae5e527ae6f6589 (patch)
tree2f80f27892374b70e95286324ecac2ad76302d97 /xtask/src
parent188b0f96f98feaa0771f941343887c46113c8ced (diff)
Add even more docs
Diffstat (limited to 'xtask/src')
-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>>();