diff options
Diffstat (limited to 'crates/ra_env/src')
-rw-r--r-- | crates/ra_env/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_env/src/lib.rs b/crates/ra_env/src/lib.rs index 4f94bffde..413da1982 100644 --- a/crates/ra_env/src/lib.rs +++ b/crates/ra_env/src/lib.rs | |||
@@ -36,7 +36,7 @@ pub fn get_path_for_executable(executable_name: impl AsRef<str>) -> Result<PathB | |||
36 | if is_valid_executable(executable_name) { | 36 | if is_valid_executable(executable_name) { |
37 | return Ok(executable_name.into()); | 37 | return Ok(executable_name.into()); |
38 | } | 38 | } |
39 | if let Some(mut path) = dirs::home_dir() { | 39 | if let Some(mut path) = ::home::home_dir() { |
40 | path.push(".cargo"); | 40 | path.push(".cargo"); |
41 | path.push("bin"); | 41 | path.push("bin"); |
42 | path.push(executable_name); | 42 | path.push(executable_name); |