Skip to content

Commit 4f480b7

Browse files
committed
tiny language touch-up
1 parent d66a01a commit 4f480b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/WhateverCode.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ say get-val($c, @a[*-1]) # 2, because the star belongs to the Array class
6161
This can make the ownership of I<Whatever stars> become confusing rather
6262
quickly, so be careful not to overdo it.
6363
64-
You type-constraint using L<Callable> type to accept any C<Callable>, including
65-
C<WhateverCode>:
64+
You may instead type-constrain using L<Callable> type in order to accept
65+
any C<Callable>, including C<WhateverCode>:
6666
6767
sub run-with-rand (Callable $code) { $code(rand) };
6868
run-with-rand *.say; # OUTPUT: «0.773672071688484␤»

0 commit comments

Comments
 (0)