aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model
diff options
context:
space:
mode:
authorAlan Du <[email protected]>2019-06-04 07:38:13 +0100
committerAlan Du <[email protected]>2019-06-04 23:05:07 +0100
commited3d93b875f25da6f81b8a107a8c200311240627 (patch)
tree77da821f9b00fc68e22f93aa5dba9989c8fcf0a7 /crates/ra_project_model
parent682bf04bf4a84e9c309b4ad2079ff08a3b09770b (diff)
Fix clippy::single_char_pattern
Diffstat (limited to 'crates/ra_project_model')
-rw-r--r--crates/ra_project_model/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs
index 63eb7041e..4ae7f685c 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -70,7 +70,7 @@ impl ProjectRoot {
70 }) 70 })
71 }; 71 };
72 72
73 let hidden = dir_path.components().any(|c| c.as_str().starts_with(".")); 73 let hidden = dir_path.components().any(|c| c.as_str().starts_with('.'));
74 74
75 !is_ignored && !hidden 75 !is_ignored && !hidden
76 } 76 }