Skip to content

Commit d34c2da

Browse files
committed
fix typos
eli-se++
1 parent 1c2228f commit d34c2da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Language/functions.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ sub double(Int(Cool) $x) {
549549
}
550550
551551
say double '21'; # 42
552-
say dobule Any; # Type check failed in binding $x; expected 'Cool' but got 'Any'
552+
say double Any; # Type check failed in binding $x; expected 'Cool' but got 'Any'
553553
=end code
554554
555555
Here the C<Int> is the target type to which the argument will be coerced, and
@@ -559,6 +559,6 @@ If the accepted input type is L<Any|/type/Any>, you can abbreviate C<Int(Any)>
559559
to C<Int()>.
560560
561561
Coercion types are supposed to work wherever types work, but Rakudo currently
562-
(2015.02) only implements them for subroutine paramters.
562+
(2015.02) only implements them for subroutine parameters.
563563
564564
=end pod

0 commit comments

Comments
 (0)