We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94a1501 + fac87f2 commit 62d85d0Copy full SHA for 62d85d0
doc/Language/signatures.rakudoc
@@ -693,7 +693,7 @@ the function body.
693
say s(2); # 10 / 2 * 2 == 10
694
695
A captured type can be used as the return type constraint
696
-(cf. L<Constraining return types|/language/signature/Constraining_return_types>):
+(cf. L<Constraining return types|/language/signatures#Constraining_return_types>):
697
698
sub cast-by-example(Any $x, ::T $example --> T) { T($x) }
699
sub cast-or-create(Any $x, ::T $example --> T:D) { with $x { T($x) } else { T.new } }
0 commit comments