From 72194b87dfa27d83d49d1dfcb07830a45ab75f04 Mon Sep 17 00:00:00 2001 From: Folkert Date: Fri, 24 Sep 2021 21:58:25 +0200 Subject: [PATCH] fix typo --- compiler/constrain/src/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/constrain/src/expr.rs b/compiler/constrain/src/expr.rs index 5584779f03..4e920147d0 100644 --- a/compiler/constrain/src/expr.rs +++ b/compiler/constrain/src/expr.rs @@ -1467,7 +1467,7 @@ fn instantiate_rigids( ) { for (symbol, loc_type) in new_headers { for var in loc_type.value.variables() { - // a rigid is only new if this annotation is the first occurence of this rigid + // a rigid is only new if this annotation is the first occurrence of this rigid if !outside_rigids.contains(&var) { new_rigids.push(var); }