Skip to content

Commit 74fe834

Browse files
committed
Link to smart match operator in the docs.
The smart match operator ~~ is linked to the design document for a better explaination. While this is surely correct, I believe that in a "nutshell" the user should be redirected to the official explaination of the ~~ mechanics and method ACCEPTS.
1 parent 88aa509 commit 74fe834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/5to6-nutshell.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ type of its arguments.
608608
609609
While the operator has not changed, the rules for what exactly is matched
610610
depends on the types of both arguments, and those rules are far from
611-
identical in Perl 5 and Perl 6. See
611+
identical in Perl 5 and Perl 6. See L<~~|/routine/~~> and
612612
L<S03/Smart matching|https://design.perl6.org/S03.html#Smart_matching>
613613
614614
=head2 C<& | ^> String Bitwise ops

0 commit comments

Comments
 (0)