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 }