diff options
author | Jeremy A. Kolb <[email protected]> | 2018-11-05 22:09:45 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-07 15:24:55 +0000 |
commit | a83ed374d069e28c5e2715384fdd0a4c2c10aeea (patch) | |
tree | 18344dad72a6892f7171d9d4da483d7f1a38b17c /crates | |
parent | 8ccd26adf396b49c7ba9e3abe0a92869b1a4c728 (diff) |
Remove unused variable
Diffstat (limited to 'crates')
-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() { |