diff options
author | Tshepang Mbambo | 2022-12-01 16:37:38 +0000 |
---|---|---|
committer | GitHub | 2022-12-01 16:37:38 +0000 |
commit | a8a54be6bcd0667c50b7c739dbfd072df684b3c3 (patch) | |
tree | 12de85d49627e4ea8c185554de2fd8ebcfa62a3e /helix-term/src/health.rs | |
parent | 5a3ff742218aac32c3af08993f0edb623631fc72 (diff) |
Fix nightly clippy lints (#4954)
Diffstat (limited to 'helix-term/src/health.rs')
-rw-r--r-- | helix-term/src/health.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/health.rs b/helix-term/src/health.rs index ac9f06fc..e8fbb84d 100644 --- a/helix-term/src/health.rs +++ b/helix-term/src/health.rs @@ -281,7 +281,7 @@ fn probe_protocol(protocol_name: &str, server_cmd: Option<String>) -> std::io::R writeln!(stdout, "Configured {}: {}", protocol_name, cmd_name)?; if let Some(cmd) = server_cmd { - let path = match which::which(&cmd) { + let path = match which::which(cmd) { Ok(path) => path.display().to_string().green(), Err(_) => "Not found in $PATH".to_string().red(), }; |