aboutsummaryrefslogtreecommitdiff
path: root/docs/threads.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/threads.md')
-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
)