Skip to content

Commit

Permalink
remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed May 31, 2017
1 parent f2cf0ba commit 0625191
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions doc/Language/variables.pod6
Expand Up @@ -330,8 +330,7 @@ variable, it is recommended to use short names or ones that can be trivially
understood in the correct order, to avoid surprise on behalf of the reader.
Normal blocks and subroutines may also make use of placeholder variables but only if they do
not have an explicit parameter list.
not have an explicit parameter list.
=begin code :skip-test
sub say-it { say $^a; } # valid
Expand Down
4 changes: 2 additions & 2 deletions xt/duplicates.t
Expand Up @@ -51,14 +51,14 @@ for @files -> $file {
$line = $last-word ~ " " ~ $line;
$last-word = "";

next if $in-code;
next if $in-code;

my @line-dupes = ($line ~~ m:g/:i << (<alpha>+) >> \s+ << $0 >> /).map(~*[0]);
for @line-dupes -> $dupe {
next if $safe-dups ~$dupe[0];
@dupes.push: "" ~ $dupe[0] ~ "” on line $line-num";
}

next if $is-pod;
$line ~~ m/ << (<alpha>+) \s* $/;
if ?$/ {
Expand Down

0 comments on commit 0625191

Please sign in to comment.