diff options
author | Aleksey Kladov <[email protected]> | 2019-02-08 11:06:26 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-08 11:34:30 +0000 |
commit | 5173c6295b9c48e6990d6fb6467fc35cd0dfc902 (patch) | |
tree | 5a13713657f619b555f57eab148b3d1d16c6fb63 /crates/ra_ide_api/src/lib.rs | |
parent | f5bb7045685a2e050c1b431f4cddd569b517eb77 (diff) |
move find_references to references
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. |