File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ impl<'a> AssistCtx<'a> {
116
116
}
117
117
118
118
pub ( crate ) fn add_assist_group ( self , group_name : impl Into < String > ) -> AssistGroup < ' a > {
119
- AssistGroup { ctx : self , group_name : group_name. into ( ) , assists : Vec :: new ( ) }
119
+ AssistGroup { ctx : self , group : group_name. into ( ) , assists : Vec :: new ( ) }
120
120
}
121
121
122
122
pub ( crate ) fn token_at_offset ( & self ) -> TokenAtOffset < SyntaxToken > {
@@ -146,7 +146,7 @@ impl<'a> AssistCtx<'a> {
146
146
147
147
pub ( crate ) struct AssistGroup < ' a > {
148
148
ctx : AssistCtx < ' a > ,
149
- group_name : String ,
149
+ group : String ,
150
150
assists : Vec < AssistInfo > ,
151
151
}
152
152
@@ -159,7 +159,7 @@ impl<'a> AssistGroup<'a> {
159
159
) {
160
160
let label = AssistLabel :: new ( id, label. into ( ) ) ;
161
161
162
- let mut info = AssistInfo :: new ( label) . with_group ( GroupLabel ( self . group_name . clone ( ) ) ) ;
162
+ let mut info = AssistInfo :: new ( label) . with_group ( GroupLabel ( self . group . clone ( ) ) ) ;
163
163
if self . ctx . should_compute_edit {
164
164
let action = {
165
165
let mut edit = ActionBuilder :: new ( & self . ctx ) ;
You can’t perform that action at this time.
0 commit comments