From 4e142757e167ac16ce65ba1c743e131aba83cdc4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 16 May 2021 14:18:49 +0300 Subject: minor: use uniform names --- crates/ide_assists/src/handlers/move_bounds.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ide_assists/src/handlers/move_bounds.rs') 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 "Move to where clause", target, |edit| { - let type_param_list = edit.make_ast_mut(type_param_list); - let parent = edit.make_mut(parent); + let type_param_list = edit.make_mut(type_param_list); + let parent = edit.make_syntax_mut(parent); let where_clause: ast::WhereClause = match_ast! { match parent { -- cgit v1.2.3