diff options
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 97ab53f91..3e9da8470 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -487,7 +487,6 @@ pub fn handle_hover( | |||
487 | 487 | ||
488 | for (file_id, symbol) in world.analysis().approximately_resolve_symbol(position)? { | 488 | for (file_id, symbol) in world.analysis().approximately_resolve_symbol(position)? { |
489 | let range = symbol.node_range.conv_with(&line_index); | 489 | let range = symbol.node_range.conv_with(&line_index); |
490 | let name = symbol.name.to_string(); | ||
491 | let comment = world.analysis.doc_comment_for(file_id, symbol)?; | 490 | let comment = world.analysis.doc_comment_for(file_id, symbol)?; |
492 | 491 | ||
493 | if comment.is_some() { | 492 | if comment.is_some() { |