From 067cb928f09482c63ec2bfbdafb04fbd53b754e1 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 28 Feb 2020 22:43:13 +0100 Subject: Simplify --- crates/ra_assists/src/handlers/auto_import.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'crates/ra_assists/src/handlers/auto_import.rs') diff --git a/crates/ra_assists/src/handlers/auto_import.rs b/crates/ra_assists/src/handlers/auto_import.rs index 46fbdb525..c8bf181f9 100644 --- a/crates/ra_assists/src/handlers/auto_import.rs +++ b/crates/ra_assists/src/handlers/auto_import.rs @@ -52,7 +52,6 @@ pub(crate) fn auto_import(ctx: AssistCtx) -> Option { group.add_assist(AssistId("auto_import"), format!("Import `{}`", &import), |edit| { edit.target(auto_import_assets.syntax_under_caret.text_range()); insert_use_statement( - &auto_import_assets.syntax_under_caret, &auto_import_assets.syntax_under_caret, &import, edit.text_edit_builder(), -- cgit v1.2.3