1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix missing type name

This commit is contained in:
Nobuyoshi Nakada 2022-11-09 12:04:22 +09:00
parent ef1c1ddf68
commit 558137d5f3
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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