diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-17 10:04:57 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-17 10:04:57 +0100 |
commit | 72a694d5773b143086d5e3bb421d721614da0ffc (patch) | |
tree | 061cc578b86de2cd72f8f8a57e2979e5c988f7fc /xtask/src/tidy.rs | |
parent | fd977a8c780e062bccd6c0486067ffabc90744b3 (diff) | |
parent | fa7fc0e5cb5343e2c59220fb91370f005c13be3a (diff) |
Merge #8862
8862: internal: scalable module structure for fixits r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src/tidy.rs')
-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 | ||