Skip to content

Commit b2fa218

Browse files
dumarchieJJ
authored andcommitted
Restore a one-line example.
Not everybody agreed this example was redundant.
1 parent 6686dfe commit b2fa218

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Type/independent-routines.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,8 @@ container is empty.
12241224
12251225
Example:
12261226
1227+
say shift [1,2]; # OUTPUT: «1␤»
1228+
12271229
=for code
12281230
my @a of Int = [1];
12291231
say shift @a; # OUTPUT: «1␤»

0 commit comments

Comments
 (0)