From 7fcad1fa03c21b9a9916a12b816ec886a5b68920 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sat, 15 Oct 2022 21:43:45 +1300 Subject: Update `Fiber::Scheduler` documentation. (#6562) --- io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'io.c') 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; -- cgit v1.2.3