diff options
author | Lukas Wirth <[email protected]> | 2021-06-22 16:28:07 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-06-22 16:50:15 +0100 |
commit | f615efdfc3b4655e4f74068769905404cd911b5e (patch) | |
tree | 8e7d42ad63269c668b189c0a59d55ebd53328f90 /crates/ide/src/lib.rs | |
parent | 4e2ec914f4b9609d162c3fd1776e8d293428fe5a (diff) |
Factor out `pick_best_token` ide pattern into `ide_db`
Diffstat (limited to 'crates/ide/src/lib.rs')
-rw-r--r-- | crates/ide/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index b978e36af..ca14533f3 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs | |||
@@ -439,7 +439,7 @@ impl Analysis { | |||
439 | self.with_db(|db| call_hierarchy::incoming_calls(db, position)) | 439 | self.with_db(|db| call_hierarchy::incoming_calls(db, position)) |
440 | } | 440 | } |
441 | 441 | ||
442 | /// Computes incoming calls for the given file position. | 442 | /// Computes outgoing calls for the given file position. |
443 | pub fn outgoing_calls(&self, position: FilePosition) -> Cancellable<Option<Vec<CallItem>>> { | 443 | pub fn outgoing_calls(&self, position: FilePosition) -> Cancellable<Option<Vec<CallItem>>> { |
444 | self.with_db(|db| call_hierarchy::outgoing_calls(db, position)) | 444 | self.with_db(|db| call_hierarchy::outgoing_calls(db, position)) |
445 | } | 445 | } |