mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix output examples containing old Hash#inspect format
The inspect format was intentionally changed as an outcome of [Bug #20433] [ruby-core:118668], but some documentation update was missing, as [Bug #20962] pointed out. Update some output examples that clearly use Hash#inspect.
This commit is contained in:
parent
528ec70604
commit
477c505ac0
Notes:
git
2024-12-18 17:09:11 +00:00
Merged: https://github.com/ruby/ruby/pull/12384 Merged-By: XrXr
4 changed files with 4 additions and 4 deletions
2
array.c
2
array.c
|
@ -5084,7 +5084,7 @@ rb_ary_concat(VALUE x, VALUE y)
|
|||
* When string argument +string_separator+ is given,
|
||||
* equivalent to <tt>self.join(string_separator)</tt>:
|
||||
*
|
||||
* [0, [0, 1], {foo: 0}] * ', ' # => "0, 0, 1, {:foo=>0}"
|
||||
* [0, [0, 1], {foo: 0}] * ', ' # => "0, 0, 1, {foo: 0}"
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue