Skip to content

Commit d5b9282

Browse files
committed
Minor rename
1 parent 13c078d commit d5b9282

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/ra_assists/src/assist_ctx.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl<'a> AssistCtx<'a> {
116116
}
117117

118118
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() }
120120
}
121121

122122
pub(crate) fn token_at_offset(&self) -> TokenAtOffset<SyntaxToken> {
@@ -146,7 +146,7 @@ impl<'a> AssistCtx<'a> {
146146

147147
pub(crate) struct AssistGroup<'a> {
148148
ctx: AssistCtx<'a>,
149-
group_name: String,
149+
group: String,
150150
assists: Vec<AssistInfo>,
151151
}
152152

@@ -159,7 +159,7 @@ impl<'a> AssistGroup<'a> {
159159
) {
160160
let label = AssistLabel::new(id, label.into());
161161

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()));
163163
if self.ctx.should_compute_edit {
164164
let action = {
165165
let mut edit = ActionBuilder::new(&self.ctx);

0 commit comments

Comments
 (0)