From dc1577d58d0339b3d77739e33ae5e527ae6f6589 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 22 May 2021 17:20:22 +0300 Subject: Add even more docs --- xtask/src/tidy.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtask/src') 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 { impl TidyDocs { fn visit(&mut self, path: &Path, text: &str) { // Tests and diagnostic fixes don't need module level comments. - if is_exclude_dir(path, &["tests", "test_data", "fixes"]) { + if is_exclude_dir(path, &["tests", "test_data", "fixes", "grammar"]) { return; } @@ -392,7 +392,7 @@ impl TidyDocs { ) } - let poorly_documented = ["hir_expand", "mbe", "parser", "hir_ty"]; + let poorly_documented = ["hir_ty"]; let mut has_fixmes = poorly_documented.iter().map(|it| (*it, false)).collect::>(); -- cgit v1.2.3