Skip to content

Commit

Permalink
fix for MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Aug 15, 2024
1 parent ff18246 commit 43bad3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/red_knot_python_semantic/src/types/narrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl<'db> NarrowingConstraintsBuilder<'db> {
{
// SAFETY: we should always have a symbol for every Name node.
let symbol = self.symbols().symbol_id_by_name(id).unwrap();
for (op, comparator) in std::iter::zip(ops, comparators) {
for (op, comparator) in std::iter::zip(ops.as_ref(), comparators.as_ref()) {
let comp_ty = self
.inference()
.expression_ty(comparator.scoped_ast_id(self.db, self.scope()));
Expand Down

0 comments on commit 43bad3a

Please sign in to comment.