Skip to content

Commit f8f82bc

Browse files
committed
fix method signature
(previous version also lacked the invocant marker but happened to compile)
1 parent dac3408 commit f8f82bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Array.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ Example:
205205
206206
Defined as:
207207
208-
multi sub splice(@list, $start = 0, $elems?, *@replacement --> Array)
209-
multi method splice(Array:D $start = 0, $elems?, *@replacement --> Array)
208+
multi sub splice(@list, $start = 0, $elems?, *@replacement --> Array)
209+
multi method splice(Array:D: $start = 0, $elems?, *@replacement --> Array)
210210
211211
Deletes C<$elems> elements starting from index C<$start> from the C<Array>,
212212
returns them and replaces them by C<@replacement>. If C<$elems> is omitted,

0 commit comments

Comments
 (0)