diff options
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. |