aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src
diff options
context:
space:
mode:
authorPhilipp Mildenberger2023-03-15 23:41:43 +0000
committerPhilipp Mildenberger2023-05-18 19:48:32 +0000
commit4da6d8ccc7ea4c31cbb31965ee0e6a25b7d403e9 (patch)
treeb8237cf90b72ed5d20b0d42c22e73c74cc7cd339 /helix-lsp/src
parentb6c60beb2d01f95cf8a98e053e58546100db8619 (diff)
str instead of String
Diffstat (limited to 'helix-lsp/src')
-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
}