aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop/handlers.rs
diff options
context:
space:
mode:
authorEkaterina Babshukova <[email protected]>2019-10-12 16:47:17 +0100
committerEkaterina Babshukova <[email protected]>2019-10-22 21:47:31 +0100
commitd26d0ada50fd0063c03e28bc2673f9f63fd23d95 (patch)
tree1292e2a6352b2bf886baed12cc69dab04dd82462 /crates/ra_lsp_server/src/main_loop/handlers.rs
parent0dd08b8023eba053725d5032149808b8733be263 (diff)
restructure a bit
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop/handlers.rs')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
1 files changed, 1 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 a07aaa9b5..e08e0dbae 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -481,7 +481,7 @@ pub fn handle_references(
481 params: req::ReferenceParams, 481 params: req::ReferenceParams,
482) -> Result<Option<Vec<Location>>> { 482) -> Result<Option<Vec<Location>>> {
483 let position = params.text_document_position.try_conv_with(&world)?; 483 let position = params.text_document_position.try_conv_with(&world)?;
484 484
485 let refs = match world.analysis().find_all_refs(position)? { 485 let refs = match world.analysis().find_all_refs(position)? {
486 None => return Ok(None), 486 None => return Ok(None),
487 Some(refs) => refs, 487 Some(refs) => refs,