diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-10-30 17:39:18 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-10-30 17:39:18 +0000 |
commit | eee55d4663084a01ce80f5ee201d8e1e345417cd (patch) | |
tree | 7fc1497065d00cfba1cd00523ed9545886745da1 /xtask/tests | |
parent | d929f9c49bceb3b7c32ea45c5e55c42f168bbf34 (diff) | |
parent | b441b4e8effeaf4532fd2e45c4d864480857c49e (diff) |
Merge #2129
2129: Some clippy fixes r=kjeremy a=kjeremy
Co-authored-by: kjeremy <[email protected]>
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] |