aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
authorMarcus Klaas de Vries <[email protected]>2019-01-08 22:38:51 +0000
committerMarcus Klaas de Vries <[email protected]>2019-01-08 22:38:51 +0000
commitf8261d611a60e99bc188022773f84912972208d2 (patch)
treeb3a471d775959f00679e0775cd5d56252dec38fe /crates/ra_lsp_server/src
parent46f74e33ca53a7897e9020d3de75cc76a6b89d79 (diff)
Fix typo defenition -> definition
Diffstat (limited to 'crates/ra_lsp_server/src')
-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 a653c5ada..069e7f932 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -213,7 +213,7 @@ pub fn handle_goto_definition(
213 params: req::TextDocumentPositionParams, 213 params: req::TextDocumentPositionParams,
214) -> Result<Option<req::GotoDefinitionResponse>> { 214) -> Result<Option<req::GotoDefinitionResponse>> {
215 let position = params.try_conv_with(&world)?; 215 let position = params.try_conv_with(&world)?;
216 let navs = match world.analysis().goto_defenition(position)? { 216 let navs = match world.analysis().goto_definition(position)? {
217 None => return Ok(None), 217 None => return Ok(None),
218 Some(it) => it, 218 Some(it) => it,
219 }; 219 };