diff options
author | Aleksey Kladov <[email protected]> | 2019-05-28 16:46:11 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-05-28 16:46:11 +0100 |
commit | 61e1474ab35deb7d54cc2f5d710b901f200b6467 (patch) | |
tree | 158afa2f165a70fdcb5870c940cc9653854e59fa /crates/ra_ide_api/src/impls.rs | |
parent | c8bcfe6a05d82e151d459bcd2bd8a7b2742f7a66 (diff) |
fix typos in mbe tests
Diffstat (limited to 'crates/ra_ide_api/src/impls.rs')
-rw-r--r-- | crates/ra_ide_api/src/impls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/impls.rs b/crates/ra_ide_api/src/impls.rs index ee9220a15..b80238d9e 100644 --- a/crates/ra_ide_api/src/impls.rs +++ b/crates/ra_ide_api/src/impls.rs | |||
@@ -11,7 +11,7 @@ pub(crate) fn goto_implementation( | |||
11 | db: &RootDatabase, | 11 | db: &RootDatabase, |
12 | position: FilePosition, | 12 | position: FilePosition, |
13 | ) -> Option<RangeInfo<Vec<NavigationTarget>>> { | 13 | ) -> Option<RangeInfo<Vec<NavigationTarget>>> { |
14 | let file = db.parse(position.file_id); | 14 | let file = db.parse(position.file_id).tree; |
15 | let syntax = file.syntax(); | 15 | let syntax = file.syntax(); |
16 | 16 | ||
17 | let module = source_binder::module_from_position(db, position)?; | 17 | let module = source_binder::module_from_position(db, position)?; |