diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/threads.md | 2 |
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 ) |
