summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-09 12:04:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-09 12:04:22 +0900
commit558137d5f3b77294949bd042bb99ae12d37faa2f (patch)
tree55888ef11f3913189d08dab611b63d20f4e5ed1d /include/ruby
parentef1c1ddf68e7219b055ae707b3f8c825d7c787b7 (diff)
[DOC] Fix missing type name
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/random.h b/include/ruby/random.h
index 657b37f034..e3176dbe6b 100644
--- a/include/ruby/random.h
+++ b/include/ruby/random.h
@@ -189,7 +189,7 @@ typedef const rb_data_type_t rb_random_data_type_t;
* 0, RB_RANDOM_INTERFACE_DEFINE(your),
* };
*
- * static inline constexpr your_prng = {
+ * static inline constexpr rb_random_data_type_t your_prng_type = {
* "your PRNG",
* { rb_random_mark, },
* RB_RANDOM_PARENT, // <<-- HERE