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:
parent
c8f2766ae2
commit
ce6fc20f97
Notes:
git
2021-12-17 15:47:15 +09:00
1 changed files with 1 additions and 1 deletions
2
hash.c
2
hash.c
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue