Skip to content

Commit f22629c

Browse files
committed
Remove trailing whitespace in perl6 source code
1 parent 9091b20 commit f22629c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bin/p6doc-index

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ multi sub MAIN('build') {
2929
for ( @*INC ) -> $lib_path is copy {
3030

3131
$lib_path = $lib_path.Str;
32-
my @files := find(:dir($lib_path),:type('file'));
32+
my @files := find(:dir($lib_path),:type('file'));
3333

3434
for @files -> $f {
3535
my $file = $f.path;

htmlify.p6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ my @menu =
3737
# ('module', 'Modules' ) => (),
3838
# ('formalities','' ) => ();
3939
;
40-
40+
4141
my $head = slurp 'template/head.html';
4242
my $footer = footer-html;
4343
sub header-html ($current-selection = 'nothing selected') is cached {
@@ -56,7 +56,7 @@ sub header-html ($current-selection = 'nothing selected') is cached {
5656
my $sub-menu-items = '';
5757
state %sub-menus = @menu>>.key>>[0] Z=> @menu>>.value;
5858
if %sub-menus{$current-selection} -> $_ {
59-
$sub-menu-items = [~]
59+
$sub-menu-items = [~]
6060
q[<div class="menu-items darker-green">],
6161
qq[<a class="menu-item" href="/$current-selection.html">All</a>],
6262
.map({qq[
@@ -426,7 +426,7 @@ sub find-definitions (:$pod, :$origin, :$min-level = -1) {
426426
);
427427
my @orig-chunk = $new-head, @c[$i ^.. $new-i];
428428
my $chunk = $created.pod.push: pod-lower-headings(@orig-chunk, :to(%attr<kind> eq 'type' ?? 0 !! 2));
429-
429+
430430
if $subkinds eq 'routine' {
431431
# Determine proper subkinds
432432
my Str @subkinds = first-code-block($chunk)\
@@ -616,14 +616,14 @@ sub write-index-files () {
616616
.[0].subkinds[0] ne 'role' ?? .[0].summary !!
617617
Pod::FormattingCode.new(:type<I>, contents => [.[0].summary]);
618618
}
619-
619+
620620
write-main-index :kind<type> :&summary;
621621

622622
for <basic composite domain-specific exceptions> -> $category {
623623
write-sub-index :kind<type> :$category :&summary;
624624
}
625625

626-
&summary = {
626+
&summary = {
627627
pod-block("(From ", $_>>.origin.map({
628628
pod-link(.name, .url)
629629
}).reduce({$^a,", ",$^b}),")")

0 commit comments

Comments
 (0)