diff options
author | Svyatoslav Kryukov <s.g.kryukov@yandex.ru> | 2020-10-03 12:48:02 +0300 |
---|---|---|
committer | Marc-André Lafortune <github@marc-andre.ca> | 2020-10-05 10:35:11 -0400 |
commit | 3a3000f57761b5435f6b3ca66d685214a2863d71 (patch) | |
tree | cf457c788e6a322d0a016a44e4a491acbeae4414 | |
parent | 20ad1017017ea736667d86fa0250dc1a39daefa1 (diff) |
Fix traditional Ring example in Actor-model
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3625
-rw-r--r-- | doc/ractor.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ractor.md b/doc/ractor.md index 565ceda58d..b0a8fc1d20 100644 --- a/doc/ractor.md +++ b/doc/ractor.md @@ -664,7 +664,7 @@ r = Ractor.new do end RN.times{ - Ractor.new r do |next_r| + r = Ractor.new r do |next_r| next_r << Ractor.recv end } |