diff options
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/tidy.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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 { | |||
347 | 347 | ||
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 | // Test hopefully don't really need comments, and for assists we already | 350 | // Tests and diagnostic fixes don't need module level comments. |
351 | // have special comments which are source of doc tests and user docs. | 351 | if is_exclude_dir(path, &["tests", "test_data", "fixes"]) { |
352 | if is_exclude_dir(path, &["tests", "test_data"]) { | ||
353 | return; | 352 | return; |
354 | } | 353 | } |
355 | 354 | ||