From fa7fc0e5cb5343e2c59220fb91370f005c13be3a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 17 May 2021 12:04:17 +0300 Subject: internal: scalable module structure for fixits --- xtask/src/tidy.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xtask/src') diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs index c3c785eff..6c55823eb 100644 --- a/xtask/src/tidy.rs +++ b/xtask/src/tidy.rs @@ -347,9 +347,8 @@ struct TidyDocs { impl TidyDocs { fn visit(&mut self, path: &Path, text: &str) { - // Test hopefully don't really need comments, and for assists we already - // have special comments which are source of doc tests and user docs. - if is_exclude_dir(path, &["tests", "test_data"]) { + // Tests and diagnostic fixes don't need module level comments. + if is_exclude_dir(path, &["tests", "test_data", "fixes"]) { return; } -- cgit v1.2.3