Lift SourceChange to the ra_ide_db

This commit is contained in:
Aleksey Kladov
2020-05-06 11:31:26 +02:00
parent beb35c3ecb
commit 3850b1c086
6 changed files with 25 additions and 25 deletions

View File

@@ -17,15 +17,16 @@ mod on_enter;
use ra_db::{FilePosition, SourceDatabase};
use ra_fmt::leading_indent;
use ra_ide_db::RootDatabase;
use ra_ide_db::{source_change::SingleFileChange, RootDatabase};
use ra_syntax::{
algo::find_node_at_offset,
ast::{self, AstToken},
AstNode, SourceFile, TextRange, TextSize,
};
use ra_text_edit::TextEdit;
use crate::{source_change::SingleFileChange, SourceChange};
use crate::SourceChange;
pub(crate) use on_enter::on_enter;