From 6b3c802b130c0439802121cca90b42633fb0fdc8 Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Tue, 1 Nov 2016 21:45:50 +0300 Subject: [PATCH] threads-docs: drop the spawned thread in the example code --- basis/threads/threads-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/threads/threads-docs.factor b/basis/threads/threads-docs.factor index 4dab1af476..8d63b30c05 100644 --- a/basis/threads/threads-docs.factor +++ b/basis/threads/threads-docs.factor @@ -183,7 +183,7 @@ $nl "A thread that counts to 10:" { $code "USING: math.parser threads ;" - "[ 10 iota [ number>string write nl yield ] each ] \"test\" spawn" + "[ 10 iota [ number>string write nl yield ] each ] \"test\" spawn drop" "10 [ yield ] times" "0" "1"