Skip to content

Commit 946e8ae

Browse files
committed
prefer non-hyphenated
1 parent 5f93731 commit 946e8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/subscripts.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ will have to create a L<Range> that includes it.
207207
Using C<*> as the last element of the range will, effectively, return
208208
the last elements of the collection.
209209
210-
For associative slices, the angle-brackets form often comes in handy:
210+
For associative slices, the angle brackets form often comes in handy:
211211
212212
my %color = kiwi => "green", banana => "yellow", cherry => "red";
213213
say %color{"cherry", "kiwi"}; # OUTPUT: «(red green)␤»
@@ -244,7 +244,7 @@ So even a one-element list returns a slice, whereas a bare scalar value doesn't:
244244
say @alphabet[2].^name; # OUTPUT: «Str␤»
245245
=end code
246246
247-
(The angle-bracket form for associative subscripts works out because
247+
(The angle bracket form for associative subscripts works out because
248248
L<word quoting|/language/quoting#Word_quoting:_qw> conveniently returns a
249249
L<Str> in case of a single word, but a L<List> in case of multiple words.)
250250

0 commit comments

Comments
 (0)