Skip to content

Commit

Permalink
fix: please clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lazytanuki committed Jun 10, 2022
1 parent 01c3d3f commit ba8b8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/commands/lsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ pub fn select_references_to_symbol_under_cursor(cx: &mut Context) {
let mut i = 0;

for document_highlight in document_highlights {
let lsp_range: lsp::Range = document_highlight.range.into();
let lsp_range: lsp::Range = document_highlight.range;
let range =
helix_lsp::util::lsp_range_to_range(text, lsp_range, offset_encoding);
if let Some(range) = range {
Expand Down

0 comments on commit ba8b8c5

Please sign in to comment.