aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-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 ec91abf85..c4d67d3dc 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -462,7 +462,7 @@ fn find_cargo_toml(path: &Path) -> Result<PathBuf> {
462 return Ok(p); 462 return Ok(p);
463 } 463 }
464 464
465 let entities = match read_dir(path.join("does_not_exist")) { 465 let entities = match read_dir(path) {
466 Ok(entities) => entities, 466 Ok(entities) => entities,
467 Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()), 467 Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()),
468 }; 468 };