Skip to content

Commit 4a113a7

Browse files
authored
return type constraints also work for pointy blocks
also, links are nice
1 parent 306b4e5 commit 4a113a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Signature.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ others, you need to use the long version:
355355
356356
=head3 X«Constraining Return Types|-->;returns»
357357
358-
There are multiple ways to constrain return types on a sub or method. All versions below
358+
There are multiple ways to constrain return types on a L<Routine|/type/Routine>. All versions below
359359
are currently valid and will force a type check on successful execution of a routine.
360360
361361
L<C<Nil>|/type/Nil> and L<C<Failure>|/type/Failure> are always allowed as return types,

0 commit comments

Comments
 (0)