aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-03 12:20:53 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-03 12:20:53 -0500
commit078b4431854895c64d9b55bc3e1a9122cc911f48 (patch)
treeaead6d835d0b9227059dd90bc2c626003e807ea9 /docs
parentd905fa4888876eddc7716e88ffa158ed657bcf37 (diff)
Add a `repeat` keyword
Diffstat (limited to 'docs')
-rw-r--r--docs/threads.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/threads.md b/docs/threads.md
index ab0ce399..68fdf7d7 100644
--- a/docs/threads.md
+++ b/docs/threads.md
@@ -28,7 +28,7 @@ A new `Thread` object representing the created thread.
>> jobs := |Int|
>> results := |Int|
>> thread := Thread.new(func():
- while yes:
+ repeat:
input := jobs:get()
results:give(input + 10
)