Skip to content

Commit 8c08183

Browse files
committed
Prefer "smartmatch" over "smart match".
1 parent 2e39c87 commit 8c08183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/js-nutshell.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ In Perl 6, C<given> can be used like switch statements. There is no equivalent
452452
to C<break> since C<when> blocks are most commonly used like C<case>
453453
statements. One major difference between C<switch> and C<given> is that a value
454454
passed to a C<switch> statement will only match cases that are exactly equal to
455-
the value; C<given> values are smart matched (C<~~>) against the C<when> values.
455+
the value; C<given> values are smartmatched (C<~~>) against the C<when> values.
456456
457457
=begin code
458458
my @ranklist = [2, 3, 4, 5, 6, 7, 8, 9, 'Jack', 'Queen', 'King', 'Ace'];

0 commit comments

Comments
 (0)