diff options
author | Peter Zhu <[email protected]> | 2023-05-31 09:58:17 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2023-06-01 08:32:29 -0400 |
commit | a16cffe384ab167c22b4ae44c05950732cec2ae6 (patch) | |
tree | 6babc173b92ebe0574b16f92db0d5291c42fb765 /hash.c | |
parent | 8a8618d4f3b35a5f114a3a5e05c80a7edb30546c (diff) |
Simplify duplicated code
The capacity of the string can be calculated using the str_capacity
function.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7879
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions