diff options
Diffstat (limited to 'xtask/tests')
-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 b766aeff1..6a629ce63 100644 --- a/xtask/tests/tidy-tests/docs.rs +++ b/xtask/tests/tidy-tests/docs.rs | |||
@@ -29,7 +29,7 @@ fn is_exclude_file(d: &DirEntry) -> bool { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | fn is_hidden(entry: &DirEntry) -> bool { | 31 | fn is_hidden(entry: &DirEntry) -> bool { |
32 | entry.file_name().to_str().map(|s| s.starts_with(".")).unwrap_or(false) | 32 | entry.file_name().to_str().map(|s| s.starts_with('.')).unwrap_or(false) |
33 | } | 33 | } |
34 | 34 | ||
35 | #[test] | 35 | #[test] |