From 4da6d8ccc7ea4c31cbb31965ee0e6a25b7d403e9 Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Thu, 16 Mar 2023 00:41:43 +0100 Subject: [PATCH] str instead of String --- helix-lsp/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs index c0f3adb82..65c6954df 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 }