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

data type should be static

This commit is contained in:
Koichi Sasada 2021-12-17 14:33:26 +09:00
parent c8f2766ae2
commit ce6fc20f97
Notes: git 2021-12-17 15:47:15 +09:00

2
hash.c
View file

@ -6653,7 +6653,7 @@ env_dup(VALUE obj)
rb_raise(rb_eTypeError, "Cannot dup ENV, use ENV.to_h to get a copy of ENV as a hash");
}
const rb_data_type_t env_data_type = {
static const rb_data_type_t env_data_type = {
"ENV",
{
NULL,