From d331155f8db056a0f7a406498c96f759f620d2c7 Mon Sep 17 00:00:00 2001 From: ivan770 Date: Fri, 19 Mar 2021 17:01:39 +0200 Subject: Remove needless lifetime --- crates/ide/src/move_item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/ide/src/move_item.rs b/crates/ide/src/move_item.rs index 806fd58da..48690b073 100644 --- a/crates/ide/src/move_item.rs +++ b/crates/ide/src/move_item.rs @@ -95,7 +95,7 @@ fn move_in_direction( } } -fn swap_sibling_in_list<'i, A: AstNode + Clone, I: Iterator>( +fn swap_sibling_in_list>( list: I, range: TextRange, direction: Direction, -- cgit v1.2.3