diff options
Diffstat (limited to 'crates/ra_project_model/src/lib.rs')
-rw-r--r-- | crates/ra_project_model/src/lib.rs | 2 |
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 | } |