From 6d28f96986c46771f545ce0cdceac5b1fbf33338 Mon Sep 17 00:00:00 2001 From: Daisuke Aritomo Date: Wed, 4 Oct 2023 14:12:50 +0900 Subject: [DOC] Fix description for `rb_postponed_job_register_one()` The current documentation for `rb_postponed_job_register_one()` is explaining the differences with itself, where it should be explaining the differences with `rb_postponed_job_register()`. --- include/ruby/debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/ruby') diff --git a/include/ruby/debug.h b/include/ruby/debug.h index f95acdb17e..1f20e984bb 100644 --- a/include/ruby/debug.h +++ b/include/ruby/debug.h @@ -628,9 +628,9 @@ typedef void (*rb_postponed_job_func_t)(void *arg); int rb_postponed_job_register(unsigned int flags, rb_postponed_job_func_t func, void *data); /** - * Identical to rb_postponed_job_register_one(), except it additionally checks - * for duplicated registration. In case the passed job is already in the - * postponed job buffer this function does nothing. + * Identical to rb_postponed_job_register(), except it additionally checks for + * duplicated registration. In case the passed job is already in the postponed + * job buffer this function does nothing. * * @param[in] flags (Unused) reserved for future extensions. * @param[in] func Job body. -- cgit v1.2.3