aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-lsp/src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index c0f3adb8..65c6954d 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -242,7 +242,7 @@ impl Client {
Ok((client, server_rx, initialize_notify))
}
- pub fn name(&self) -> &String {
+ pub fn name(&self) -> &str {
&self.name
}