diff --git a/go/anonymous-race-condition.yaml b/go/anonymous-race-condition.yaml index 0249e6e..e644679 100644 --- a/go/anonymous-race-condition.yaml +++ b/go/anonymous-race-condition.yaml @@ -99,18 +99,6 @@ rules: ... go func(...){ ... - <... $X.$VAR ...> - }(...) - ... - } - - pattern-not: | - for $Y, $X := range ... { - ... - $Y, $X := $Y, $X - ... - go func(...){ - ... - <... $Y.$VAR ...> }(...) ... }