diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-12 17:42:06 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-12 17:42:06 +0100 |
commit | 8bb81d7418dbc4c295d31d261441b67dba4c0f76 (patch) | |
tree | af552549d828905294f4f3c109cdc339c12020ad /crates/ra_ide_api/src/impls.rs | |
parent | 2e466bb365813620de15afd5e04736a92fffdca9 (diff) | |
parent | deab4caa7b1ba81c1b7e6561bc270bbde6467f13 (diff) |
Merge #1524
1524: make Parse fields private r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/impls.rs')
-rw-r--r-- | crates/ra_ide_api/src/impls.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/impls.rs b/crates/ra_ide_api/src/impls.rs index 97615b01f..6d69f36aa 100644 --- a/crates/ra_ide_api/src/impls.rs +++ b/crates/ra_ide_api/src/impls.rs | |||
@@ -8,8 +8,8 @@ pub(crate) fn goto_implementation( | |||
8 | db: &RootDatabase, | 8 | db: &RootDatabase, |
9 | position: FilePosition, | 9 | position: FilePosition, |
10 | ) -> Option<RangeInfo<Vec<NavigationTarget>>> { | 10 | ) -> Option<RangeInfo<Vec<NavigationTarget>>> { |
11 | let file = db.parse(position.file_id).tree; | 11 | let parse = db.parse(position.file_id); |
12 | let syntax = file.syntax(); | 12 | let syntax = parse.tree().syntax(); |
13 | 13 | ||
14 | let module = source_binder::module_from_position(db, position)?; | 14 | let module = source_binder::module_from_position(db, position)?; |
15 | 15 | ||