File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,10 +80,7 @@ pub(crate) fn symbols(
8080 info. push ( SymbolInformation {
8181 name : name. to_string ( ) ,
8282 kind : SymbolKind :: FUNCTION ,
83- location : Location {
84- uri,
85- range,
86- } ,
83+ location : Location { uri, range } ,
8784 tags : None ,
8885 deprecated : None ,
8986 container_name : None ,
@@ -95,10 +92,7 @@ pub(crate) fn symbols(
9592 info. push ( SymbolInformation {
9693 name : title. to_string ( ) ,
9794 kind : SymbolKind :: STRING ,
98- location : Location {
99- uri,
100- range,
101- } ,
95+ location : Location { uri, range } ,
10296 tags : None ,
10397 deprecated : None ,
10498 container_name : None ,
@@ -110,10 +104,7 @@ pub(crate) fn symbols(
110104 info. push ( SymbolInformation {
111105 name : name. clone ( ) ,
112106 kind : SymbolKind :: VARIABLE ,
113- location : Location {
114- uri,
115- range,
116- } ,
107+ location : Location { uri, range } ,
117108 tags : None ,
118109 deprecated : None ,
119110 container_name : None ,
@@ -124,10 +115,7 @@ pub(crate) fn symbols(
124115 info. push ( SymbolInformation {
125116 name : name. clone ( ) ,
126117 kind : SymbolKind :: METHOD ,
127- location : Location {
128- uri,
129- range,
130- } ,
118+ location : Location { uri, range } ,
131119 tags : None ,
132120 deprecated : None ,
133121 container_name : None ,
You can’t perform that action at this time.
0 commit comments