diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide_api/src/lib.rs | 4 | ||||
-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; | |||
29 | mod call_info; | 29 | mod call_info; |
30 | mod syntax_highlighting; | 30 | mod syntax_highlighting; |
31 | mod parent_module; | 31 | mod parent_module; |
32 | mod rename; | 32 | mod references; |
33 | mod impls; | 33 | mod impls; |
34 | mod assists; | 34 | mod 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 | |||