From 558137d5f3b77294949bd042bb99ae12d37faa2f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 9 Nov 2022 12:04:22 +0900 Subject: [PATCH] [DOC] Fix missing type name --- include/ruby/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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