Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed Aug 22, 2023
1 parent 0230d99 commit d3e07e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl<'a> Visitor<'a> for TypeVarReferenceVisitor<'a> {
func, arguments, ..
}) => {
if self.semantic.match_typing_expr(func, "TypeVar")
&& arguments.args.len() >= 1
&& !arguments.args.is_empty()
&& arguments.args.first().is_some_and(|arg| {
matches!(
arg,
Expand Down

0 comments on commit d3e07e8

Please sign in to comment.