diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2022-03-11 11:45:14 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2022-03-11 11:45:14 -0500 |
| commit | 42e5ec941489c11a180ed75c6348419c79aefff1 (patch) | |
| tree | e378659dc8545ce6e83e4a8c99abea620352f771 /doc/optparse/ruby/explicit_array_values.rb | |
| parent | 2e4516be26e126ec9e7528d1de0d4a0b7332f6dd (diff) | |
Refactor duplicate code in rb_array_replace
In both cases in the if statement, we free heap allocated arrays and
unshare shared arrays.
Diffstat (limited to 'doc/optparse/ruby/explicit_array_values.rb')
0 files changed, 0 insertions, 0 deletions
