Skip to content

Commit fe7627b

Browse files
committed
Fix typos.
1 parent adf23cb commit fe7627b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/Type/Any.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Interprets the invocant as a list, and returns that L<List|/type/List>.
103103
104104
=head2 method push
105105
106-
The method push is defined for undefined invocants and allowes for
106+
The method push is defined for undefined invocants and allows for
107107
autovivifying undefined to an empty C<Array>, unless the undefined value
108108
implements C<Positional> already. The argument provided will then be pushed
109109
into the newly created Array.

doc/Type/Signature.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Type captures and coercion types are not supported.
219219
220220
To accept one type but coerce it automatically to another, use the accepted
221221
type as an argument to the target type. If the accepted type is C<Any> it can
222-
be obmitted.
222+
be omitted.
223223
224224
sub f(Int(Str) $want-int, Str() $want-str){ say $want-int.WHAT, $want-str.WHAT }
225225
f '10', 10;
@@ -277,7 +277,7 @@ as described below.
277277
278278
=head2 Single Argument Rule Slurpy
279279
280-
The single argument rule allowes to treat arguments to subroutines,
280+
The single argument rule allows to treat arguments to subroutines,
281281
C<for>-loops and list constructors based on context. Many methods on positional
282282
types can work with a single arguments the same way as with a list or
283283
arguments. Using C<+@> as a sigil in a Signature provides syntactic sugar to

0 commit comments

Comments
 (0)