diff --git a/content/flowcontrol/for-continued.go b/content/flowcontrol/for-continued.go index 5f6fce4..71c9686 100644 --- a/content/flowcontrol/for-continued.go +++ b/content/flowcontrol/for-continued.go @@ -6,7 +6,7 @@ import "fmt" func main() { sum := 1 - for sum < 1000 { + for ; sum < 1000; { sum += sum } fmt.Println(sum)