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.
1 parent 2f06e02 commit fac87f2Copy full SHA for fac87f2
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