ruby-changes:64535
From: Marcus <ko1@a...>
Date: Thu, 24 Dec 2020 05:59:46 +0900 (JST)
Subject: [ruby-changes:64535] ae26d5bd41 (master): doc/fiber.md: fix typos
https://git.ruby-lang.org/ruby.git/commit/?id=ae26d5bd41 From ae26d5bd41ba3718073176a6be7b16924c5b138b Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer <sto.mar@w...> Date: Wed, 23 Dec 2020 21:56:04 +0100 Subject: doc/fiber.md: fix typos diff --git a/doc/fiber.md b/doc/fiber.md index 7a1580a..5abd848 100644 --- a/doc/fiber.md +++ b/doc/fiber.md @@ -39,7 +39,7 @@ instrumentation. https://github.com/ruby/ruby/blob/trunk/doc/fiber.md#L39 To set the scheduler for the current thread: ``` ruby -Fiber.set_schduler(MyScheduler.new) +Fiber.set_scheduler(MyScheduler.new) ``` When the thread exits, there is an implicit call to `set_scheduler`: @@ -182,7 +182,7 @@ fiber-specific. https://github.com/ruby/ruby/blob/trunk/doc/fiber.md#L182 #### Queue / SizedQueue -The `Queue` and `SizedQueue` classses can be used in a non-blocking context and +The `Queue` and `SizedQueue` classes can be used in a non-blocking context and are fiber-specific. #### Thread -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/