From d83218bd0ff002873838887079526ec0b02c9025 Mon Sep 17 00:00:00 2001 From: d0cd <23022326+d0cd@users.noreply.github.com> Date: Mon, 29 Jul 2024 09:15:05 -0700 Subject: [PATCH] Update documentation/leo/03_language.md Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com> Signed-off-by: d0cd <23022326+d0cd@users.noreply.github.com> --- documentation/leo/03_language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/leo/03_language.md b/documentation/leo/03_language.md index c9ed35f02..0bd639b00 100644 --- a/documentation/leo/03_language.md +++ b/documentation/leo/03_language.md @@ -601,7 +601,7 @@ Return statements are declared as `return {expression};`. ### For Loops -For loops are declared as `for {variable: type} in {lower bound}..{upper bound}`. The loop bounds must be integer types and constant. Furthermore, the lower bound must be +For loops are declared as `for {variable: type} in {lower bound}..{upper bound}`. The loop bounds must be integer constants of the same type. Furthermore, the lower bound must be less than the upper bound. Nested loops are supported.