refactor: Make handle_hover handle ranges too

This commit is contained in:
Alexander Gonzalez 2021-07-26 12:14:14 -04:00
parent 2b5798e927
commit 1a0a5da1a4
6 changed files with 42 additions and 84 deletions

View file

@ -423,7 +423,7 @@ impl Analysis {
self.with_db(|db| hover::hover(db, position, config))
}
/// Returns a short text displaying the type for the expression.
/// Returns a short text displaying the type of the expression.
pub fn hover_range(
&self,
config: &HoverConfig,