Remove needless lifetime

This commit is contained in:
ivan770 2021-03-19 17:01:39 +02:00
parent 2794cc7b00
commit d331155f8d
No known key found for this signature in database
GPG Key ID: D8C4BD5AE4D9CC4D

View File

@ -95,7 +95,7 @@ fn move_in_direction(
}
}
fn swap_sibling_in_list<'i, A: AstNode + Clone, I: Iterator<Item = A>>(
fn swap_sibling_in_list<A: AstNode + Clone, I: Iterator<Item = A>>(
list: I,
range: TextRange,
direction: Direction,