aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-05-17 10:04:17 +0100
committerAleksey Kladov <[email protected]>2021-05-17 10:04:17 +0100
commitfa7fc0e5cb5343e2c59220fb91370f005c13be3a (patch)
tree061cc578b86de2cd72f8f8a57e2979e5c988f7fc /xtask/src
parentdb8fbb99ce6e60c072250bada004de9645431a43 (diff)
internal: scalable module structure for fixits
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/tidy.rs5
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
348impl TidyDocs { 348impl 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