diff options
author | Aleksey Kladov <[email protected]> | 2020-08-12 17:26:51 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-12 17:30:53 +0100 |
commit | a1c187eef3ba08076aedb5154929f7eda8d1b424 (patch) | |
tree | 9d898eb9600b0c36a74e4f95238f679c683fa566 /crates/ra_assists/src/assist_context.rs | |
parent | 3d6889cba72a9d02199f7adaa2ecc69bc30af834 (diff) |
Rename ra_syntax -> syntax
Diffstat (limited to 'crates/ra_assists/src/assist_context.rs')
-rw-r--r-- | crates/ra_assists/src/assist_context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/assist_context.rs b/crates/ra_assists/src/assist_context.rs index fcaa1aedc..217f692a4 100644 --- a/crates/ra_assists/src/assist_context.rs +++ b/crates/ra_assists/src/assist_context.rs | |||
@@ -10,7 +10,7 @@ use ra_ide_db::{ | |||
10 | source_change::{SourceChange, SourceFileEdit}, | 10 | source_change::{SourceChange, SourceFileEdit}, |
11 | RootDatabase, | 11 | RootDatabase, |
12 | }; | 12 | }; |
13 | use ra_syntax::{ | 13 | use syntax::{ |
14 | algo::{self, find_node_at_offset, SyntaxRewriter}, | 14 | algo::{self, find_node_at_offset, SyntaxRewriter}, |
15 | AstNode, SourceFile, SyntaxElement, SyntaxKind, SyntaxNode, SyntaxToken, TextRange, TextSize, | 15 | AstNode, SourceFile, SyntaxElement, SyntaxKind, SyntaxNode, SyntaxToken, TextRange, TextSize, |
16 | TokenAtOffset, | 16 | TokenAtOffset, |
@@ -271,7 +271,7 @@ impl AssistBuilder { | |||
271 | } | 271 | } |
272 | /// Replaces specified `node` of text with a given string, reindenting the | 272 | /// Replaces specified `node` of text with a given string, reindenting the |
273 | /// string to maintain `node`'s existing indent. | 273 | /// string to maintain `node`'s existing indent. |
274 | // FIXME: remove in favor of ra_syntax::edit::IndentLevel::increase_indent | 274 | // FIXME: remove in favor of syntax::edit::IndentLevel::increase_indent |
275 | pub(crate) fn replace_node_and_indent( | 275 | pub(crate) fn replace_node_and_indent( |
276 | &mut self, | 276 | &mut self, |
277 | node: &SyntaxNode, | 277 | node: &SyntaxNode, |