summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-12-24 23:11:02 +1300
committerGitHub <noreply@github.com>2021-12-24 23:11:02 +1300
commitacfe2f2655ab25d52c4347783c4de99fa2daaf62 (patch)
tree7d6eabfd67b4485e0a43b416fd551b6bb0eed68e /include/ruby
parent4fccefef052fb042659fe4237d3c2d5d0446dcea (diff)
Improvements to `rb_io_wait` return value handling and internal implementation. (#5340)
Notes
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/fiber/scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/fiber/scheduler.h b/include/ruby/fiber/scheduler.h
index a255a1a712..14e36ffb3a 100644
--- a/include/ruby/fiber/scheduler.h
+++ b/include/ruby/fiber/scheduler.h
@@ -205,7 +205,7 @@ VALUE rb_fiber_scheduler_unblock(VALUE scheduler, VALUE blocker, VALUE fiber);
* this for instance switches to another fiber etc.
*
* The "events" here is a Ruby level integer, which is an OR-ed value of
- * `IO::READABLE`, `IO::WRITable`, and `IO::PRIORITY`.
+ * `IO::READABLE`, `IO::WRITABLE`, and `IO::PRIORITY`.
*
* @param[in] scheduler Target scheduler.
* @param[in] io An io object to wait.