diff options
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 79a916a5..90391024 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -147,8 +147,8 @@ impl Application { .into_iter() .map(|diagnostic| { use helix_lsp::util::lsp_pos_to_pos; - let start = lsp_pos_to_pos(&doc, diagnostic.range.start); - let end = lsp_pos_to_pos(&doc, diagnostic.range.end); + let start = lsp_pos_to_pos(doc, diagnostic.range.start); + let end = lsp_pos_to_pos(doc, diagnostic.range.end); helix_core::Diagnostic { range: (start, end), |