aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model
diff options
context:
space:
mode:
authornmio <[email protected]>2020-02-27 22:06:51 +0000
committernmio <[email protected]>2020-02-27 22:06:51 +0000
commit12b595e817b9cb47b3abb5ca4455e2ae9e95f58b (patch)
tree2ea4e910bd559299689e33e406fb2fa7647807c3 /crates/ra_project_model
parentf9f8edfb0602baa6d7fae0704f02aef15ea25dd1 (diff)
remove code used for testing
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 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 };