diff options
author | Aleksey Kladov <[email protected]> | 2021-05-17 10:04:17 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-05-17 10:04:17 +0100 |
commit | fa7fc0e5cb5343e2c59220fb91370f005c13be3a (patch) | |
tree | 061cc578b86de2cd72f8f8a57e2979e5c988f7fc /xtask | |
parent | db8fbb99ce6e60c072250bada004de9645431a43 (diff) |
internal: scalable module structure for fixits
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 | ||