File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,6 @@ impl From<super::Location<'_>> for Location {
164164#[ serde( rename_all = "camelCase" ) ]
165165#[ cfg_attr( feature = "schema" , derive( schemars:: JsonSchema ) ) ]
166166#[ cfg_attr( test, derive( Eq , PartialEq ) ) ]
167-
168167struct Advices {
169168 advices : Vec < Advice > ,
170169}
Original file line number Diff line number Diff line change @@ -83,14 +83,15 @@ pub fn on_hover(params: OnHoverParams) -> Vec<String> {
8383 _ => vec ! [ ] ,
8484 } ,
8585
86- HoveredNode :: Function ( node_identification) => match node_identification {
87- ( maybe_schema, function_name) => params
86+ HoveredNode :: Function ( node_identification) => {
87+ let ( maybe_schema, function_name) = node_identification;
88+ params
8889 . schema_cache
8990 . find_functions ( & function_name, maybe_schema. as_deref ( ) )
9091 . into_iter ( )
9192 . map ( Hoverable :: from)
92- . collect ( ) ,
93- } ,
93+ . collect ( )
94+ }
9495
9596 HoveredNode :: Role ( role_name) => params
9697 . schema_cache
You can’t perform that action at this time.
0 commit comments