Use term on label for generating method impl
This commit is contained in:
parent
1376ece497
commit
e8de34b6b3
@ -138,7 +138,7 @@ fn gen_method(acc: &mut Assists, ctx: &AssistContext) -> Option<()> {
|
||||
|
||||
acc.add(
|
||||
AssistId("generate_function", AssistKind::Generate),
|
||||
format!("Generate `{}` function", function_builder.fn_name),
|
||||
format!("Generate `{}` method", function_builder.fn_name),
|
||||
target,
|
||||
|builder| {
|
||||
let function_template = function_builder.render();
|
||||
|
Loading…
x
Reference in New Issue
Block a user