diff options
Diffstat (limited to 'crates/ra_ide_api/src/imp.rs')
-rw-r--r-- | crates/ra_ide_api/src/imp.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/ra_ide_api/src/imp.rs b/crates/ra_ide_api/src/imp.rs index b52a3f4d5..fa79908a1 100644 --- a/crates/ra_ide_api/src/imp.rs +++ b/crates/ra_ide_api/src/imp.rs | |||
@@ -19,7 +19,6 @@ use crate::{ | |||
19 | CrateId, db, Diagnostic, FileId, FilePosition, FileRange, FileSystemEdit, | 19 | CrateId, db, Diagnostic, FileId, FilePosition, FileRange, FileSystemEdit, |
20 | Query, RootChange, SourceChange, SourceFileEdit, | 20 | Query, RootChange, SourceChange, SourceFileEdit, |
21 | symbol_index::{FileSymbol, LibrarySymbolsQuery}, | 21 | symbol_index::{FileSymbol, LibrarySymbolsQuery}, |
22 | rename::rename | ||
23 | }; | 22 | }; |
24 | 23 | ||
25 | impl db::RootDatabase { | 24 | impl db::RootDatabase { |
@@ -232,10 +231,6 @@ impl db::RootDatabase { | |||
232 | .collect() | 231 | .collect() |
233 | } | 232 | } |
234 | 233 | ||
235 | pub(crate) fn rename(&self, position: FilePosition, new_name: &str) -> Option<SourceChange> { | ||
236 | rename(self, position, new_name) | ||
237 | } | ||
238 | |||
239 | pub(crate) fn index_resolve(&self, name_ref: &ast::NameRef) -> Vec<FileSymbol> { | 234 | pub(crate) fn index_resolve(&self, name_ref: &ast::NameRef) -> Vec<FileSymbol> { |
240 | let name = name_ref.text(); | 235 | let name = name_ref.text(); |
241 | let mut query = Query::new(name.to_string()); | 236 | let mut query = Query::new(name.to_string()); |