summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-18 01:54:52 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-18 01:54:52 +0000
commit1eed9181e082883987116224a5043b8b64a0ec95 (patch)
tree75b57956dd7c565886c613ae49e1b181caa6b661 /README.md
parentefb6cda22ec9ca124c22b40d1b0049c3992bbf32 (diff)
Support for '..='
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