Skip to content

Commit 9b0f023

Browse files
committed
Correct the slurpies in documented signatures
1 parent 81278cc commit 9b0f023

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Type/Array.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Example:
3131
3232
=head2 routine push
3333
34-
multi sub push(Array:D, *@values) returns Array:D
35-
multi method push(Array:D: *@values) returns Array:D
34+
multi sub push(Array:D, **@values) returns Array:D
35+
multi method push(Array:D: **@values) returns Array:D
3636
3737
Adds the C<@values> to the end of the array, and returns the modified list.
3838
Fails for infinite arrays.
@@ -59,8 +59,8 @@ Example:
5959
6060
=head2 routine unshift
6161
62-
multi sub unshift(Array:D, *@values) returns Array:D
63-
multi method unshift(Array:D: *@values) returns Array:D
62+
multi sub unshift(Array:D, **@values) returns Array:D
63+
multi method unshift(Array:D: **@values) returns Array:D
6464
6565
Adds the C<@values> to the start of the array, and returns the modified array.
6666
Fails if C<@values> is infinite.

0 commit comments

Comments
 (0)