mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
remove code used for testing
This commit is contained in:
parent
f9f8edfb06
commit
12b595e817
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ fn find_cargo_toml(path: &Path) -> Result<PathBuf> {
|
||||||
return Ok(p);
|
return Ok(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
let entities = match read_dir(path.join("does_not_exist")) {
|
let entities = match read_dir(path) {
|
||||||
Ok(entities) => entities,
|
Ok(entities) => entities,
|
||||||
Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()),
|
Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue