From 12b595e817b9cb47b3abb5ca4455e2ae9e95f58b Mon Sep 17 00:00:00 2001 From: nmio Date: Thu, 27 Feb 2020 22:06:51 +0000 Subject: remove code used for testing --- crates/ra_project_model/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') 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 { return Ok(p); } - let entities = match read_dir(path.join("does_not_exist")) { + let entities = match read_dir(path) { Ok(entities) => entities, Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()), }; -- cgit v1.2.3