diff options
author | Aleksey Kladov <[email protected]> | 2019-01-05 14:38:24 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-05 14:39:34 +0000 |
commit | bdbdade036fe71c4438f931f450beb711d1379ed (patch) | |
tree | 232dc42dc6e42812f1b6bf4d33b2b9cf05465792 /crates/ra_analysis/src/lib.rs | |
parent | 9f44d4c56d51fdae1ff073df261b8c897b27c824 (diff) |
move typeof to hover
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 0e32a15f8..b068119d2 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs | |||
@@ -450,7 +450,7 @@ impl Analysis { | |||
450 | } | 450 | } |
451 | /// Computes the type of the expression at the given position. | 451 | /// Computes the type of the expression at the given position. |
452 | pub fn type_of(&self, frange: FileRange) -> Cancelable<Option<String>> { | 452 | pub fn type_of(&self, frange: FileRange) -> Cancelable<Option<String>> { |
453 | self.db.type_of(frange) | 453 | hover::type_of(&*self.db, frange) |
454 | } | 454 | } |
455 | /// Returns the edit required to rename reference at the position to the new | 455 | /// Returns the edit required to rename reference at the position to the new |
456 | /// name. | 456 | /// name. |