aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
diff options
context:
space:
mode:
authorEkaterina Babshukova <[email protected]>2019-10-15 17:25:57 +0100
committerEkaterina Babshukova <[email protected]>2019-10-22 21:47:31 +0100
commit93c179531b31786bfd50644b5f0c879afc798f7d (patch)
tree5f92adb558ace2ed54a1bdc273d7018b1c52a4c9 /crates/ra_ide_api/src
parent328be5721ad0d53d6d296fec08fbcc569634ecf7 (diff)
fix highlighting
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r--crates/ra_ide_api/src/references/rename.rs2
-rw-r--r--crates/ra_ide_api/src/references/search_scope.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/references/rename.rs b/crates/ra_ide_api/src/references/rename.rs
index c91dada46..0e2e088e0 100644
--- a/crates/ra_ide_api/src/references/rename.rs
+++ b/crates/ra_ide_api/src/references/rename.rs
@@ -1,7 +1,7 @@
1//! FIXME: write short doc here 1//! FIXME: write short doc here
2 2
3use hir::ModuleSource; 3use hir::ModuleSource;
4use ra_db::SourceDatabase; 4use ra_db::{SourceDatabase, SourceDatabaseExt};
5use ra_syntax::{algo::find_node_at_offset, ast, AstNode, SyntaxNode}; 5use ra_syntax::{algo::find_node_at_offset, ast, AstNode, SyntaxNode};
6use relative_path::{RelativePath, RelativePathBuf}; 6use relative_path::{RelativePath, RelativePathBuf};
7 7
diff --git a/crates/ra_ide_api/src/references/search_scope.rs b/crates/ra_ide_api/src/references/search_scope.rs
index dfea18a19..680988a21 100644
--- a/crates/ra_ide_api/src/references/search_scope.rs
+++ b/crates/ra_ide_api/src/references/search_scope.rs
@@ -1,7 +1,7 @@
1//! FIXME: write short doc here 1//! FIXME: write short doc here
2 2
3use hir::{DefWithBody, HasSource, ModuleSource}; 3use hir::{DefWithBody, HasSource, ModuleSource};
4use ra_db::{FileId, SourceDatabase}; 4use ra_db::{FileId, SourceDatabase, SourceDatabaseExt};
5use ra_syntax::{AstNode, TextRange}; 5use ra_syntax::{AstNode, TextRange};
6 6
7use crate::db::RootDatabase; 7use crate::db::RootDatabase;