Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove superfluous line
$/ is not being used in this method.
  • Loading branch information
lizmat committed Feb 16, 2016
1 parent 204a03c commit d94ae35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/Str.pm
Expand Up @@ -1433,7 +1433,6 @@ my class Str does Stringy { # declared in BOOTSTRAP
submethod compare_substitution(
$substitution, int $pos, int $length --> Nil
) {
$/ := nqp::getlexcaller('$/');
if $!next_match > $pos
|| $!next_match == $pos && $!substitution_length < $length {

Expand Down

0 comments on commit d94ae35

Please sign in to comment.