Skip to content

Commit

Permalink
typos/spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
revhippie committed Jan 15, 2016
1 parent 1a269ee commit 22840f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/Type/Signature.pod
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ of the routine. Any return statement in that routine has to be argumentless.
sub foo(--> 123) { return }
L<C<Nil>|/type/Nil> and L<C<Failure>|/type/Failure> are always allowed as return types, reguardless of any
type contrain.
L<C<Nil>|/type/Nil> and L<C<Failure>|/type/Failure> are always allowed as return types, regardless of any
type constraint.
sub foo(--> Int) { Nil };
say foo.perl; # Nil
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Str.pod
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ Example:
Replaces one or many substrings with one or many strings. Ranges are supported, both for keys and
values. Regexes work as keys. When called with C<:complement> anything but the matched value or range
is replaced with a single value. With C<:delete> the matched characters are removed.
Combining C<:complement> and C<:delete> will remove anything but the mached values.
Combining C<:complement> and C<:delete> will remove anything but the matched values.
The adverb C<:squash> will reduce repeated matched characters to a single character.
Example:
Expand Down

0 comments on commit 22840f1

Please sign in to comment.