Skip to content

Commit 07cd369

Browse files
authored
Add missing title for but in list construction
1 parent 72607fa commit 07cd369

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Language/traps.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,8 @@ to a power, use parentheses:
561561
say (-1)²; # OUTPUT: «1␤»
562562
say (-1)**2; # OUTPUT: «1␤»
563563
564+
=head2 C<but> in List Construction
565+
564566
The operator infix:<but> is narrower than the list constructor. When providing
565567
a list of roles to mix in, always use parentheses.
566568

0 commit comments

Comments
 (0)