Skip to content

Commit 22840f1

Browse files
committed
typos/spelling errors
1 parent 1a269ee commit 22840f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/Type/Signature.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ of the routine. Any return statement in that routine has to be argumentless.
176176
177177
sub foo(--> 123) { return }
178178
179-
L<C<Nil>|/type/Nil> and L<C<Failure>|/type/Failure> are always allowed as return types, reguardless of any
180-
type contrain.
179+
L<C<Nil>|/type/Nil> and L<C<Failure>|/type/Failure> are always allowed as return types, regardless of any
180+
type constraint.
181181
182182
sub foo(--> Int) { Nil };
183183
say foo.perl; # Nil

doc/Type/Str.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ Example:
693693
Replaces one or many substrings with one or many strings. Ranges are supported, both for keys and
694694
values. Regexes work as keys. When called with C<:complement> anything but the matched value or range
695695
is replaced with a single value. With C<:delete> the matched characters are removed.
696-
Combining C<:complement> and C<:delete> will remove anything but the mached values.
696+
Combining C<:complement> and C<:delete> will remove anything but the matched values.
697697
The adverb C<:squash> will reduce repeated matched characters to a single character.
698698
699699
Example:

0 commit comments

Comments
 (0)