Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
Util committed Jun 18, 2016
1 parent adf23cb commit fe7627b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/Type/Any.pod
Expand Up @@ -103,7 +103,7 @@ Interprets the invocant as a list, and returns that L<List|/type/List>.
=head2 method push
The method push is defined for undefined invocants and allowes for
The method push is defined for undefined invocants and allows for
autovivifying undefined to an empty C<Array>, unless the undefined value
implements C<Positional> already. The argument provided will then be pushed
into the newly created Array.
Expand Down
4 changes: 2 additions & 2 deletions doc/Type/Signature.pod
Expand Up @@ -219,7 +219,7 @@ Type captures and coercion types are not supported.
To accept one type but coerce it automatically to another, use the accepted
type as an argument to the target type. If the accepted type is C<Any> it can
be obmitted.
be omitted.
sub f(Int(Str) $want-int, Str() $want-str){ say $want-int.WHAT, $want-str.WHAT }
f '10', 10;
Expand Down Expand Up @@ -277,7 +277,7 @@ as described below.
=head2 Single Argument Rule Slurpy
The single argument rule allowes to treat arguments to subroutines,
The single argument rule allows to treat arguments to subroutines,
C<for>-loops and list constructors based on context. Many methods on positional
types can work with a single arguments the same way as with a list or
arguments. Using C<+@> as a sigil in a Signature provides syntactic sugar to
Expand Down

0 comments on commit fe7627b

Please sign in to comment.