We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9391b1c commit f9f8edfCopy full SHA for f9f8edf
crates/ra_project_model/src/lib.rs
@@ -463,12 +463,8 @@ fn find_cargo_toml(path: &Path) -> Result<PathBuf> {
463
}
464
465
let entities = match read_dir(path.join("does_not_exist")) {
466
- Ok(entities) => {
467
- entities
468
- },
469
- Err(e) => {
470
- return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into())
471
+ Ok(entities) => entities,
+ Err(e) => return Err(CargoTomlSearchFileSystemError(path_as_buf, e.to_string()).into()),
472
};
473
474
let mut valid_canditates = find_cargo_toml_in_child_dir(entities);
0 commit comments