Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a typo in Str.pm, flussence++
  • Loading branch information
Tadeusz Sośnierz committed Apr 20, 2011
1 parent 887bb5b commit 374e381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Str.pm
Expand Up @@ -110,8 +110,8 @@ augment class Str does Stringy {
my Int $outdent = $steps ~~ Whatever ?? $common-prefix
!! -$steps;

warn sprintf('Asked to remove %d spaces, " ~
"but the shortest indent is %d spaces',
warn sprintf('Asked to remove %d spaces, ' ~
'but the shortest indent is %d spaces',
$outdent, $common-prefix) if $outdent > $common-prefix;

# Work backwards from the right end of the indent whitespace, removing
Expand Down

0 comments on commit 374e381

Please sign in to comment.