diff options
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/internal/intern/bignum.h | 2 | ||||
-rw-r--r-- | include/ruby/thread.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/internal/intern/bignum.h b/include/ruby/internal/intern/bignum.h index 43d68018de..4ba48264fa 100644 --- a/include/ruby/internal/intern/bignum.h +++ b/include/ruby/internal/intern/bignum.h @@ -793,7 +793,7 @@ size_t rb_absint_size(VALUE val, int *nlz_bits_ret); * @exception rb_eTypeError `val` doesn't respond to `#to_int`. * @retval (size_t)-1 Overflowed. * @retval otherwise - `((val_numbits * CHAR_BIT + word_numbits - 1) / word_numbits)`, + * `((val_numbits * CHAR_BIT + word_numbits - 1) / word_numbits)`, * where val_numbits is the number of bits of `abs(val)`. * @post If `nlz_bits_ret` is not `NULL` and there is no overflow, * `(return_value * word_numbits - val_numbits)` is stored in diff --git a/include/ruby/thread.h b/include/ruby/thread.h index 3753a4c06a..d6a543af91 100644 --- a/include/ruby/thread.h +++ b/include/ruby/thread.h @@ -243,7 +243,7 @@ typedef struct rb_internal_thread_event_hook rb_internal_thread_event_hook_t; * @return An opaque pointer to the hook, to unregister it later. * @note This functionality is a noop on Windows. * @note The callback will be called without the GVL held, except for the - RESUMED event. + * RESUMED event. * @warning This function MUST not be called from a thread event callback. */ rb_internal_thread_event_hook_t *rb_internal_thread_add_event_hook( |