Skip to content

Commit 8f85245

Browse files
committed
remove trailing whitespace
1 parent ffca24b commit 8f85245

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/Language/traps.pod6

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ The common areas you should watch out for are:
184184
=begin code :skip-test
185185
# WRONG; trying to hash-slice a Bool:
186186
while ($++ > 5){ .say }
187-
187+
188188
# RIGHT:
189189
while ($++ > 5) { .say }
190-
190+
191191
# EVEN BETTER; Perl 6 does not require parentheses there:
192192
while $++ > 5 { .say }
193193
=end code
@@ -197,15 +197,15 @@ The common areas you should watch out for are:
197197
=begin code :skip-test
198198
# WRONG; ambiguity with `[<]` meta op:
199199
my @a = [[<foo>],];
200-
200+
201201
# RIGHT; reductions cannot have spaces in them, so put one in:
202-
my @a = [[ <foo>],];
203-
202+
my @a = [[ <foo>],];
203+
204204
# No ambiguity here, natural spaces between items suffice to resolve it:
205-
my @a = [[<foo bar ber>],];
205+
my @a = [[<foo bar ber>],];
206206
=end code
207207
208-
=head3
208+
=head3
209209
210210
=head1 Captures
211211

0 commit comments

Comments
 (0)