Skip to content

Commit d0e6646

Browse files
authored
Update 5to6-nutshell.rakudoc (#4486)
fix incorrect link destinations. #index-entry_#dispatch_callsame / ditto samewith / callwith do not exist, but sub_callsame sub_samewith sub_callwith do exist
1 parent cb60648 commit d0e6646

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Language/5to6-nutshell.rakudoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ first $coderef, @values, :k;
287287
=begin item
288288
C<&foo;> I<and> C<goto &foo;> I<for re-using the caller's argument
289289
list / replacing the caller in the call stack>. Raku can use either
290-
L<C<callsame>|/language/functions#index-entry-dispatch_callsame> for
290+
L<C<callsame>|/language/functions#sub_callsame> for
291291
re-dispatching or
292-
L<C<nextsame>|/language/functions#index-entry-dispatch_nextsame> and
293-
L<C<nextwith>|/language/functions#index-entry-dispatch_nextwith>, which have no
292+
L<C<nextsame>|/language/functions#sub_nextsame> and
293+
L<C<nextwith>|/language/functions#sub_nextwith>, which have no
294294
exact equivalent in Perl.
295295

296296
=for code :lang<perl>
@@ -310,7 +310,7 @@ multi foo ( Any $n ) {
310310
multi foo ( Int $n ) {
311311
say "Int"; callsame;
312312
};
313-
foo(3); # /language/functions#index-entry-dispatch_callsame
313+
foo(3); # /language/functions#sub_callsame
314314
=end code
315315

316316
=end item

0 commit comments

Comments
 (0)