summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-10-15 21:43:45 +1300
committerGitHub <noreply@github.com>2022-10-15 21:43:45 +1300
commit7fcad1fa03c21b9a9916a12b816ec886a5b68920 (patch)
treefa7869c6f7b8e642258b68907506b20489df411e /io.c
parent52fcb3a72446189448e96a465d8c91c469ac0ed2 (diff)
Update `Fiber::Scheduler` documentation. (#6562)
Notes
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/io.c b/io.c
index a1b3f27611..a7da551a6a 100644
--- a/io.c
+++ b/io.c
@@ -10855,9 +10855,7 @@ rb_f_select(int argc, VALUE *argv, VALUE obj)
if (scheduler != Qnil) {
// It's optionally supported.
VALUE result = rb_fiber_scheduler_io_selectv(scheduler, argc, argv);
- if (result != Qundef) {
- return result;
- }
+ if (result != Qundef) return result;
}
VALUE timeout;