Skip to content

Commit 7e60264

Browse files
committed
cargo fmt
1 parent 303b444 commit 7e60264

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/ra_env/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ pub fn get_path_for_executable(executable_name: impl AsRef<str>) -> Result<Strin
2323
if is_valid_executable(&path) {
2424
Ok(path)
2525
} else {
26-
Err(Error::msg(format!("`{}` environment variable points to something that's not a valid executable", env_var)))
26+
Err(Error::msg(format!(
27+
"`{}` environment variable points to something that's not a valid executable",
28+
env_var
29+
)))
2730
}
2831
} else {
2932
let final_path: Option<String> = if is_valid_executable(executable_name) {

0 commit comments

Comments
 (0)