Skip to content

Commit

Permalink
Update documentation/leo/03_language.md
Browse files Browse the repository at this point in the history
Co-authored-by: Eric McCarthy <[email protected]>
Signed-off-by: d0cd <[email protected]>
  • Loading branch information
d0cd and bendyarm authored Jul 29, 2024
1 parent c881c28 commit d83218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/leo/03_language.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down

0 comments on commit d83218b

Please sign in to comment.