From 5738ae70d959a2bab0dfe40b12ba16a2c2cd6a12 Mon Sep 17 00:00:00 2001 From: Jimmy Bourassa Date: Thu, 8 Dec 2022 10:38:23 -0500 Subject: [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. --- include/ruby/internal/intern/gc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby/internal/intern/gc.h') 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 * -- cgit v1.2.3