mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
refactor: Make handle_hover handle ranges too
This commit is contained in:
parent
2b5798e927
commit
1a0a5da1a4
6 changed files with 42 additions and 84 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue