Skip to content

Commit 4b19544

Browse files
committed
s/won't-work/wont-work/
and a typo
1 parent 45fa33a commit 4b19544

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Type/Signature.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ my $sig = B<:($a, $b)>;
3939
=end code
4040
4141
Signature literals can be used to define the signature of a callback or a
42-
cloasure.
42+
closure.
4343
4444
sub f(&c:(Int)){}
4545
sub will-work(Int){}
46-
sub won't-work(Str){}
46+
sub wont-work(Str){}
4747
f(&will-work);
48-
f(&won't-work); # fails at runtime
48+
f(&wont-work); # fails at runtime
4949
f(-> Int { 'this works too' } );
5050
5151
=head2 Parameter Separators

0 commit comments

Comments
 (0)