aboutsummaryrefslogtreecommitdiff
path: root/docs/integers.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 23:37:05 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 23:37:05 -0400
commit1a196aa8f724971e531487f9cdd541f7957cfd92 (patch)
tree52a36701065ab0e3f7012765c909c3b2a3fd2e49 /docs/integers.md
parent4a3db447ce820617a72bdd9fc6217c84c3799bea (diff)
Update syntax in docs
Diffstat (limited to 'docs/integers.md')
-rw-r--r--docs/integers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/integers.md b/docs/integers.md
index bdef827d..84a2d1a2 100644
--- a/docs/integers.md
+++ b/docs/integers.md
@@ -362,7 +362,7 @@ An iterator function that counts onward from the starting integer.
**Example:**
```tomo
nums : &[Int] = &[]
-for i in (5).onward():
+for i in (5).onward()
nums.insert(i)
stop if i == 10
>> nums[]