mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
move typeof to hover
This commit is contained in:
parent
9f44d4c56d
commit
bdbdade036
3 changed files with 18 additions and 18 deletions
|
@ -450,7 +450,7 @@ impl Analysis {
|
|||
}
|
||||
/// Computes the type of the expression at the given position.
|
||||
pub fn type_of(&self, frange: FileRange) -> Cancelable<Option<String>> {
|
||||
self.db.type_of(frange)
|
||||
hover::type_of(&*self.db, frange)
|
||||
}
|
||||
/// Returns the edit required to rename reference at the position to the new
|
||||
/// name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue