mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 23:25:03 +00:00
move node at offset to aglo already
This commit is contained in:
parent
1b82084a5f
commit
702bdacb03
11 changed files with 19 additions and 22 deletions
|
@ -1,9 +1,8 @@
|
|||
use ra_editor::find_node_at_offset;
|
||||
use ra_text_edit::AtomTextEdit;
|
||||
use ra_syntax::{
|
||||
AstNode, SyntaxNode, SourceFile, TextUnit, TextRange,
|
||||
ast,
|
||||
algo::{find_leaf_at_offset, find_covering_node},
|
||||
algo::{find_leaf_at_offset, find_covering_node, find_node_at_offset},
|
||||
SyntaxKind::*,
|
||||
};
|
||||
use hir::source_binder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue