summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorJimmy Bourassa <jbourassa@gmail.com>2022-12-08 10:38:23 -0500
committerGitHub <noreply@github.com>2022-12-09 00:38:23 +0900
commit5738ae70d959a2bab0dfe40b12ba16a2c2cd6a12 (patch)
tree8d1f64ba69400fa88c59158210806d1c1a8fd843 /include/ruby
parente9f6d6b3fb522f2f9a70f06230c6ecb0cad0ac90 (diff)
[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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6876 Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/internal/intern/gc.h2
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
*