diff options
author | Aleksey Kladov <[email protected]> | 2021-05-16 12:18:49 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-05-16 12:18:49 +0100 |
commit | 4e142757e167ac16ce65ba1c743e131aba83cdc4 (patch) | |
tree | 9d4e1061420b06c658ecbcf8c61b4acf98b31b7b /crates/ide_assists/src/handlers/move_bounds.rs | |
parent | a57bd59f351600c408ef9d2a4df3f2c10e817d0d (diff) |
minor: use uniform names
Diffstat (limited to 'crates/ide_assists/src/handlers/move_bounds.rs')
-rw-r--r-- | crates/ide_assists/src/handlers/move_bounds.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_assists/src/handlers/move_bounds.rs b/crates/ide_assists/src/handlers/move_bounds.rs index fa3f76609..d89d11bdf 100644 --- a/crates/ide_assists/src/handlers/move_bounds.rs +++ b/crates/ide_assists/src/handlers/move_bounds.rs | |||
@@ -36,8 +36,8 @@ pub(crate) fn move_bounds_to_where_clause(acc: &mut Assists, ctx: &AssistContext | |||
36 | "Move to where clause", | 36 | "Move to where clause", |
37 | target, | 37 | target, |
38 | |edit| { | 38 | |edit| { |
39 | let type_param_list = edit.make_ast_mut(type_param_list); | 39 | let type_param_list = edit.make_mut(type_param_list); |
40 | let parent = edit.make_mut(parent); | 40 | let parent = edit.make_syntax_mut(parent); |
41 | 41 | ||
42 | let where_clause: ast::WhereClause = match_ast! { | 42 | let where_clause: ast::WhereClause = match_ast! { |
43 | match parent { | 43 | match parent { |