diff options
author | Aleksey Kladov <[email protected]> | 2020-07-03 18:14:42 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-03 18:32:18 +0100 |
commit | d09f6923009943cee1b24571c2905c3c0bfb49c7 (patch) | |
tree | 3e2e02e862af35b6e0e6f859eb22c1b32938d958 /crates/ra_assists/src/handlers/generate_function.rs | |
parent | 66b6a433c6243b8be72bbd04a40d0a38cedb11b4 (diff) |
Add AssistKind::Generate
Diffstat (limited to 'crates/ra_assists/src/handlers/generate_function.rs')
-rw-r--r-- | crates/ra_assists/src/handlers/generate_function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/handlers/generate_function.rs b/crates/ra_assists/src/handlers/generate_function.rs index 35162791e..b721b96bb 100644 --- a/crates/ra_assists/src/handlers/generate_function.rs +++ b/crates/ra_assists/src/handlers/generate_function.rs | |||
@@ -63,7 +63,7 @@ pub(crate) fn generate_function(acc: &mut Assists, ctx: &AssistContext) -> Optio | |||
63 | 63 | ||
64 | let target = call.syntax().text_range(); | 64 | let target = call.syntax().text_range(); |
65 | acc.add( | 65 | acc.add( |
66 | AssistId("generate_function", AssistKind::None), | 66 | AssistId("generate_function", AssistKind::Generate), |
67 | format!("Generate `{}` function", function_builder.fn_name), | 67 | format!("Generate `{}` function", function_builder.fn_name), |
68 | target, | 68 | target, |
69 | |builder| { | 69 | |builder| { |