From 3fe0c477a8dfc681ce5b4d6942e2cf087269b9f6 Mon Sep 17 00:00:00 2001 From: Ana Armas Romero <54946499+anaarmas@users.noreply.github.com> Date: Mon, 30 Oct 2023 18:17:19 +0100 Subject: [PATCH] fix typo: break -> continue --- 01-basics/05-loops/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-basics/05-loops/README.md b/01-basics/05-loops/README.md index c3dd412..7e6ec3a 100644 --- a/01-basics/05-loops/README.md +++ b/01-basics/05-loops/README.md @@ -158,7 +158,7 @@ So far, you've seen three ways you can use the `for` construct. There are also w arr = []int{-1,2,-1, 3} for i := 0; i< 4; i++ { if arr[i] < 0 { - break; + continue; } fmt.Println(arr[i]) }