mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Fix typo in RHASH_ST_CLEAR
We should be setting as.st and not as.ar.
This commit is contained in:
parent
ffd52412ab
commit
4e037075ae
1 changed files with 1 additions and 1 deletions
|
@ -202,8 +202,8 @@ RHASH_ST_SIZE(VALUE h)
|
|||
static inline void
|
||||
RHASH_ST_CLEAR(VALUE h)
|
||||
{
|
||||
RHASH(h)->as.st = NULL;
|
||||
FL_UNSET_RAW(h, RHASH_ST_TABLE_FLAG);
|
||||
RHASH(h)->as.ar = NULL;
|
||||
}
|
||||
|
||||
static inline unsigned
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue