aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-02 01:49:23 +0000
committerBlaž Hrastnik2021-09-06 06:25:46 +0000
commit10b690b5bd5d3e9ee477782ebfe3f6ff8d11cb3f (patch)
tree27abd8715064e7d9bb73a989a63d7cbb8d4e52f1 /helix-view/src
parent800d79b584cd09020488b8a614e5214b929d8f5d (diff)
Drop some &mut bounds where & would have sufficed
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 5677eb44..71f6680c 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -649,7 +649,7 @@ impl Document {
// }
// emit lsp notification
- if let Some(language_server) = &self.language_server {
+ if let Some(language_server) = self.language_server() {
let notify = language_server.text_document_did_change(
self.versioned_identifier(),
&old_doc,