aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-07 05:03:04 +0000
committerBlaž Hrastnik2022-02-10 02:12:47 +0000
commitf88c077f992bbfc5ea3623441a9e2b2a0e9ca2b2 (patch)
tree4dd02bff7a5cfea44a3f5e217696ae0a3d39e236 /helix-lsp
parentfdb9a1677b937e4975ff26d252c7da9f2a5df1f0 (diff)
Replace tendril with smartstring
Slightly smaller API surface, less dependencies.
Diffstat (limited to 'helix-lsp')
-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 c80f70b5..15cbca0e 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -438,7 +438,7 @@ impl Client {
changes.push(lsp::TextDocumentContentChangeEvent {
range: Some(lsp::Range::new(start, end)),
- text: s.into(),
+ text: s.to_string(),
range_length: None,
});
}