diff options
-rw-r--r-- | crates/ra_project_model/src/lib.rs | 2 |
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 e24801818..b7f6a9b57 100644 --- a/crates/ra_project_model/src/lib.rs +++ b/crates/ra_project_model/src/lib.rs | |||
@@ -372,7 +372,7 @@ fn find_cargo_toml(path: &Path) -> Result<PathBuf> { | |||
372 | } | 372 | } |
373 | curr = path.parent(); | 373 | curr = path.parent(); |
374 | } | 374 | } |
375 | Err(Box::new(CargoTomlNotFoundError(path.to_path_buf()))) | 375 | Err(CargoTomlNotFoundError(path.to_path_buf()))? |
376 | } | 376 | } |
377 | 377 | ||
378 | pub fn get_rustc_cfg_options() -> CfgOptions { | 378 | pub fn get_rustc_cfg_options() -> CfgOptions { |