aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide_api/src/lib.rs4
-rw-r--r--crates/ra_ide_api/src/references.rs (renamed from crates/ra_ide_api/src/rename.rs)0
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs
index bb60e8d40..0bb21245d 100644
--- a/crates/ra_ide_api/src/lib.rs
+++ b/crates/ra_ide_api/src/lib.rs
@@ -29,7 +29,7 @@ mod hover;
29mod call_info; 29mod call_info;
30mod syntax_highlighting; 30mod syntax_highlighting;
31mod parent_module; 31mod parent_module;
32mod rename; 32mod references;
33mod impls; 33mod impls;
34mod assists; 34mod assists;
35 35
@@ -388,7 +388,7 @@ impl Analysis {
388 position: FilePosition, 388 position: FilePosition,
389 new_name: &str, 389 new_name: &str,
390 ) -> Cancelable<Option<SourceChange>> { 390 ) -> Cancelable<Option<SourceChange>> {
391 self.with_db(|db| rename::rename(db, position, new_name)) 391 self.with_db(|db| references::rename(db, position, new_name))
392 } 392 }
393 393
394 fn with_db<F: FnOnce(&db::RootDatabase) -> T + std::panic::UnwindSafe, T>( 394 fn with_db<F: FnOnce(&db::RootDatabase) -> T + std::panic::UnwindSafe, T>(
diff --git a/crates/ra_ide_api/src/rename.rs b/crates/ra_ide_api/src/references.rs
index 1c9491a0a..1c9491a0a 100644
--- a/crates/ra_ide_api/src/rename.rs
+++ b/crates/ra_ide_api/src/references.rs