summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-03-26 11:21:31 -0700
committerTakashi Kokubun <[email protected]>2024-03-26 11:21:32 -0700
commit332f4938cf3adbff8f15b647767dc660583a5bef (patch)
treea4b11c539eff3b8f3a3c5f5123db59e96ff11551
parent3e0eea644f31b0a80da143c18149c750712d833d (diff)
[DOC] Fix a description about rb_exec_recursive_outer
It gives true/TRUE (int) instead of Qtrue (VALUE).
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index e672172a4d..9400c32adc 100644
--- a/thread.c
+++ b/thread.c
@@ -5297,7 +5297,7 @@ rb_exec_recursive_paired(VALUE (*func) (VALUE, VALUE, int), VALUE obj, VALUE pai
/*
* If recursion is detected on the current method and obj, the outermost
- * func will be called with (obj, arg, Qtrue). All inner func will be
+ * func will be called with (obj, arg, true). All inner func will be
* short-circuited using throw.
*/