diff options
author | kjeremy <[email protected]> | 2019-10-30 17:36:37 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-10-30 17:36:37 +0000 |
commit | b441b4e8effeaf4532fd2e45c4d864480857c49e (patch) | |
tree | 5f25f7478b8ec365b2a2d5f7bea4ec2386bdd244 /xtask/tests/tidy-tests | |
parent | 5806195bc1cdb1ca3fa257e99fd6e0dd897713a9 (diff) |
Some clippy fixes
Diffstat (limited to 'xtask/tests/tidy-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] |