]> git.lizzy.rs Git - rust.git/commit
refactor hover
authorKartavya Vashishtha <sendtokartavya@gmail.com>
Sat, 19 Nov 2022 15:52:10 +0000 (21:22 +0530)
committerKartavya Vashishtha <sendtokartavya@gmail.com>
Sat, 19 Nov 2022 15:52:10 +0000 (21:22 +0530)
commit87658c81731cd99b80bcd32d2188890f2ca22291
tree9de0e3ae9c5c0deedb13a58f198a087bfc40f71d
parent8b176810588734bdba3b5ea3374d39046f184f45
refactor hover

change struct_rest_pat to guarentee a HoverResult

Move token and node matching out of struct_rest_pat into hover
crates/ide/src/hover.rs
crates/ide/src/hover/render.rs