Skip to content

Commit

Permalink
Remove lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Apr 11, 2024
1 parent 8fe1040 commit aa8d74f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -135,7 +135,7 @@ impl<'a> LoopMutationsVisitor<'a> {
}

/// Handle, e.g., `del items[0]`.
fn handle_delete(&mut self, range: TextRange, targets: &'a [Expr]) {
fn handle_delete(&mut self, range: TextRange, targets: &[Expr]) {
for target in targets {
if let Expr::Subscript(ExprSubscript {
range: _,
Expand Down

0 comments on commit aa8d74f

Please sign in to comment.