Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove bogus coercion from Cool.substr.
Found by labster++.
  • Loading branch information
jnthn committed Feb 28, 2013
1 parent 22b3cf3 commit 357e603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Cool.pm
Expand Up @@ -69,7 +69,7 @@ my class Cool {
)
}

method substr($start as Int, $length?) {
method substr($start, $length?) {
self.Stringy.substr($start, $length);
}

Expand Down

0 comments on commit 357e603

Please sign in to comment.