diff options
Diffstat (limited to 'xtask/tests/tidy-tests/docs.rs')
-rw-r--r-- | xtask/tests/tidy-tests/docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/tests/tidy-tests/docs.rs b/xtask/tests/tidy-tests/docs.rs index 8a005d6c4..6a69e7d6a 100644 --- a/xtask/tests/tidy-tests/docs.rs +++ b/xtask/tests/tidy-tests/docs.rs | |||
@@ -6,7 +6,7 @@ use xtask::project_root; | |||
6 | fn is_exclude_dir(p: &Path) -> bool { | 6 | fn is_exclude_dir(p: &Path) -> bool { |
7 | // Test hopefully don't really need comments, and for assists we already | 7 | // Test hopefully don't really need comments, and for assists we already |
8 | // have special comments which are source of doc tests and user docs. | 8 | // have special comments which are source of doc tests and user docs. |
9 | let exclude_dirs = ["tests", "test_data", "assists"]; | 9 | let exclude_dirs = ["tests", "test_data", "handlers"]; |
10 | let mut cur_path = p; | 10 | let mut cur_path = p; |
11 | while let Some(path) = cur_path.parent() { | 11 | while let Some(path) = cur_path.parent() { |
12 | if exclude_dirs.iter().any(|dir| path.ends_with(dir)) { | 12 | if exclude_dirs.iter().any(|dir| path.ends_with(dir)) { |