diff options
author | kjeremy <[email protected]> | 2020-07-02 22:48:35 +0100 |
---|---|---|
committer | kjeremy <[email protected]> | 2020-07-02 22:48:35 +0100 |
commit | 36cc81ac71e4246bf58a3758735cc68f7adb5e0f (patch) | |
tree | 9d14ddf58d873049fa5efc79dbdb83ed165aec8b /crates/ra_assists/src/handlers/flip_comma.rs | |
parent | 1d58e168246e1ca64f3ce3936e90077922b82d05 (diff) |
Move AssistKind into AssistId
Diffstat (limited to 'crates/ra_assists/src/handlers/flip_comma.rs')
-rw-r--r-- | crates/ra_assists/src/handlers/flip_comma.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_assists/src/handlers/flip_comma.rs b/crates/ra_assists/src/handlers/flip_comma.rs index 9971ffa71..55a971dc7 100644 --- a/crates/ra_assists/src/handlers/flip_comma.rs +++ b/crates/ra_assists/src/handlers/flip_comma.rs | |||
@@ -29,8 +29,7 @@ pub(crate) fn flip_comma(acc: &mut Assists, ctx: &AssistContext) -> Option<()> { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | acc.add( | 31 | acc.add( |
32 | AssistId("flip_comma"), | 32 | AssistId("flip_comma", AssistKind::RefactorRewrite), |
33 | AssistKind::RefactorRewrite, | ||
34 | "Flip comma", | 33 | "Flip comma", |
35 | comma.text_range(), | 34 | comma.text_range(), |
36 | |edit| { | 35 | |edit| { |