Skip to content

Commit e67da64

Browse files
authored
Merge pull request #1881 from gfldex/patch-12
return type constraints also work for pointy blocks Well, `htmlify.p6`is what is going to process it anyway... Having a `type` preffix is also a heuristic, because it's where it goes now, as processed with htmlify.p6. Be that as it may, that's fair enough, so I'll accept it anyway. If we change this to some other thing it will go to the pile of links that have to be changed.
2 parents e4ee4ce + 4a113a7 commit e67da64

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)