From f3e1944cb6fd1b7191c33aeec98451b2a43a41c9 Mon Sep 17 00:00:00 2001 From: Lars Walen Date: Tue, 12 Feb 2019 15:08:10 -0800 Subject: [PATCH] Updated CommonMistakes (markdown) --- CommonMistakes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonMistakes.md b/CommonMistakes.md index 3ae5c174..482561bc 100644 --- a/CommonMistakes.md +++ b/CommonMistakes.md @@ -57,7 +57,7 @@ for i := 1; i <= 10; i++ { Even though the closures all still close over the same variable (in this case, ` i `), they are executed before the variable changes, resulting in the desired behavior. http://golang.org/doc/go_faq.html#closures_and_goroutines -Another similar situation that you may find like following: +You may find another, similar situation like the following: ```go for _, val := range values {