aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/completion
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-08 17:44:31 +0000
committerAleksey Kladov <[email protected]>2019-01-08 18:01:41 +0000
commit702bdacb03b498f36ed9ccf4f37ca923affb1e9c (patch)
tree36be9bf0d15ef94cde0821ebe441e5540520b59c /crates/ra_analysis/src/completion
parent1b82084a5f28506134c668a67d2759ef22be6a80 (diff)
move node at offset to aglo already
Diffstat (limited to 'crates/ra_analysis/src/completion')
-rw-r--r--crates/ra_analysis/src/completion/completion_context.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/completion/completion_context.rs b/crates/ra_analysis/src/completion/completion_context.rs
index 988c21c58..01786bb69 100644
--- a/crates/ra_analysis/src/completion/completion_context.rs
+++ b/crates/ra_analysis/src/completion/completion_context.rs
@@ -1,9 +1,8 @@
1use ra_editor::find_node_at_offset;
2use ra_text_edit::AtomTextEdit; 1use ra_text_edit::AtomTextEdit;
3use ra_syntax::{ 2use ra_syntax::{
4 AstNode, SyntaxNode, SourceFile, TextUnit, TextRange, 3 AstNode, SyntaxNode, SourceFile, TextUnit, TextRange,
5 ast, 4 ast,
6 algo::{find_leaf_at_offset, find_covering_node}, 5 algo::{find_leaf_at_offset, find_covering_node, find_node_at_offset},
7 SyntaxKind::*, 6 SyntaxKind::*,
8}; 7};
9use hir::source_binder; 8use hir::source_binder;