Skip to content

Commit

Permalink
refactor: express intuition more explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Oct 16, 2023
1 parent 43295cd commit 981b47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/origlang-compiler/src/type_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ fn handle_atomic_pattern(
}])
}
AtomicPattern::Tuple(tp) => {
desugar(tp.into(), expr, checker)
desugar(Cow::Borrowed(tp), expr, checker)
}
}
}
Expand Down

0 comments on commit 981b47f

Please sign in to comment.