diff options
Diffstat (limited to 'crates/ra_ide_api/src/lib.rs')
-rw-r--r-- | crates/ra_ide_api/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs index 0bb21245d..f5c1aa036 100644 --- a/crates/ra_ide_api/src/lib.rs +++ b/crates/ra_ide_api/src/lib.rs | |||
@@ -322,7 +322,7 @@ impl Analysis { | |||
322 | 322 | ||
323 | /// Finds all usages of the reference at point. | 323 | /// Finds all usages of the reference at point. |
324 | pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> { | 324 | pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> { |
325 | self.with_db(|db| db.find_all_refs(position)) | 325 | self.with_db(|db| references::find_all_refs(db, position)) |
326 | } | 326 | } |
327 | 327 | ||
328 | /// Returns a short text descrbing element at position. | 328 | /// Returns a short text descrbing element at position. |