diff options
author | Jimmy Bourassa <jbourassa@gmail.com> | 2022-12-08 10:38:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 00:38:23 +0900 |
commit | 5738ae70d959a2bab0dfe40b12ba16a2c2cd6a12 (patch) | |
tree | 8d1f64ba69400fa88c59158210806d1c1a8fd843 /include | |
parent | e9f6d6b3fb522f2f9a70f06230c6ecb0cad0ac90 (diff) | |
download | ruby-5738ae70d959a2bab0dfe40b12ba16a2c2cd6a12.tar.gz |
[DOC] Update `rb_gc_mark_locations` doc
The documentation says that the `end` pointer will be marked
but looking at the source, that is not the case.
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/internal/intern/gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/intern/gc.h b/include/ruby/internal/intern/gc.h index ae79498cf3..2ee1d257db 100644 --- a/include/ruby/internal/intern/gc.h +++ b/include/ruby/internal/intern/gc.h @@ -71,7 +71,7 @@ RBIMPL_ATTR_NONNULL((1)) * addressable. * @param[out] start Pointer to an array of objects. * @param[out] end Pointer that terminates the array of objects. - * @post Objects from `start` to `end`, both inclusive, are marked. + * @post Objects from `start` (included) to `end` (excluded) are marked. * * @internal * |