Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
harupy committed Aug 2, 2023
1 parent 8a77d28 commit 293c2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff/src/rules/pyupgrade/rules/f_strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ impl<'a> FormatSummaryValues<'a> {
}

fn arg_positional(&mut self, index: usize) -> Option<&Expr> {
self.args.get(index).map(|x| *x)
self.args.get(index).map(|a| *a)
}

fn arg_keyword(&mut self, key: &str) -> Option<&Expr> {
self.kwargs.get(key).map(|x| *x)
self.kwargs.get(key).map(|a| *a)
}
}

Expand Down

0 comments on commit 293c2f0

Please sign in to comment.