diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-08 09:23:34 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-08 09:23:34 +0000 |
commit | 1e0948a509e8f6ec7cbb5e2ef77669325fee0637 (patch) | |
tree | 81b546c105388e1fc3154c90a42a8cc5fb930d0b /crates/ra_analysis/src/imp.rs | |
parent | 3f4be819125ce4a22edd86721fa56b5caba99c2e (diff) | |
parent | fa6e0b0d38d2a030b959be91232927b9c096272b (diff) |
Merge #453
453: itroduce trait for ast tokens r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_analysis/src/imp.rs')
-rw-r--r-- | crates/ra_analysis/src/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs index 8ac430e41..98554dd4c 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs | |||
@@ -115,7 +115,7 @@ impl db::RootDatabase { | |||
115 | let name = ast_module.name().unwrap(); | 115 | let name = ast_module.name().unwrap(); |
116 | Ok(vec![NavigationTarget { | 116 | Ok(vec![NavigationTarget { |
117 | file_id, | 117 | file_id, |
118 | name: name.text(), | 118 | name: name.text().clone(), |
119 | range: name.syntax().range(), | 119 | range: name.syntax().range(), |
120 | kind: MODULE, | 120 | kind: MODULE, |
121 | ptr: None, | 121 | ptr: None, |