summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9a5c008..bd4ec9b 100644
--- a/README.md
+++ b/README.md
@@ -206,7 +206,8 @@ match shape {
#### Loops
```zc
// Range
-for i in 0..10 { ... }
+for i in 0..10 { ... } // Exclusive (0 to 9)
+for i in 0..=10 { ... } // Inclusive (0 to 10)
for i in 0..10 step 2 { ... }
// Iterator/Collection