Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove redundant conditional in Str.match-list
  • Loading branch information
moritz committed Apr 15, 2012
1 parent f524138 commit de1eaf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Str.pm
Expand Up @@ -340,7 +340,7 @@ my class Str does Stringy {
take $m;
while $m := $m.CURSOR.'!cursor_next'().MATCH {
# next line written this way for reasons of circularity sawing
Cursor.HOW.find_private_method(Cursor, 'set_last_match')(Cursor, $m) if $m;
Cursor.HOW.find_private_method(Cursor, 'set_last_match')(Cursor, $m);
take $m;
}
}
Expand Down

0 comments on commit de1eaf5

Please sign in to comment.