Skip to content

Commit 2560242

Browse files
kyanagihsbt
authored andcommitted
[DOC] Fix the block parameter name in Array#zip
1 parent a80e859 commit 2560242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4464,7 +4464,7 @@ take_items(VALUE obj, long n)
44644464
/*
44654465
* call-seq:
44664466
* zip(*other_arrays) -> new_array
4467-
* zip(*other_arrays) {|other_array| ... } -> nil
4467+
* zip(*other_arrays) {|sub_array| ... } -> nil
44684468
*
44694469
* With no block given, combines +self+ with the collection of +other_arrays+;
44704470
* returns a new array of sub-arrays:

0 commit comments

Comments
 (0)