Skip to content

Commit 1bfb111

Browse files
committed
Move change to ide-db
1 parent ee76e61 commit 1bfb111

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/ra_ide/src/change.rs renamed to crates/ra_ide/src/ide_db/change.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ use ra_syntax::SourceFile;
1313
use rayon::prelude::*;
1414
use rustc_hash::FxHashMap;
1515

16-
use crate::{
17-
db::{DebugData, RootDatabase},
18-
ide_db::symbol_index::{SymbolIndex, SymbolsDatabase},
16+
use crate::ide_db::{
17+
symbol_index::{SymbolIndex, SymbolsDatabase},
18+
DebugData, RootDatabase,
1919
};
2020

2121
#[derive(Default)]

crates/ra_ide/src/ide_db/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pub mod line_index;
44
pub mod line_index_utils;
55
pub mod feature_flags;
66
pub mod symbol_index;
7+
pub mod change;
78

89
use std::sync::Arc;
910

crates/ra_ide/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ mod ide_db;
1414

1515
mod db;
1616
pub mod mock_analysis;
17-
mod change;
1817
mod source_change;
1918

2019
mod status;
@@ -67,14 +66,14 @@ use crate::{
6766
pub use crate::{
6867
assists::{Assist, AssistId},
6968
call_hierarchy::CallItem,
70-
change::{AnalysisChange, LibraryData},
7169
completion::{CompletionItem, CompletionItemKind, InsertTextFormat},
7270
diagnostics::Severity,
7371
display::{file_structure, FunctionSignature, NavigationTarget, StructureNode},
7472
expand_macro::ExpandedMacro,
7573
folding_ranges::{Fold, FoldKind},
7674
hover::HoverResult,
7775
ide_db::{
76+
change::{AnalysisChange, LibraryData},
7877
feature_flags::FeatureFlags,
7978
line_index::{LineCol, LineIndex},
8079
line_index_utils::translate_offset_with_edit,

0 commit comments

Comments
 (0)