diff options
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>>(); |