add back [] in hover documentation

This commit is contained in:
Kartavya Vashishtha 2022-11-25 12:03:49 +05:30
parent f64feeb11a
commit 132d5ffc7d
No known key found for this signature in database
GPG key ID: A50012C2324E5DF0

View file

@ -87,7 +87,7 @@ pub struct HoverResult {
// Shows additional information, like the type of an expression or the documentation for a definition when "focusing" code.
// Focusing is usually hovering with a mouse, but can also be triggered with a shortcut.
//
// image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917a-11eb-9f88-3dbc27320c95.gif
// image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917a-11eb-9f88-3dbc27320c95.gif[]
pub(crate) fn hover(
db: &RootDatabase,
FileRange { file_id, range }: FileRange,