Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
this slightly adventurous syntax used to work
now calls forth a suggestion to "use !! instead of :"
after $to.
  • Loading branch information
timo committed Mar 31, 2015
1 parent 468dbc7 commit 479d63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/Convenience.pm6
Expand Up @@ -103,7 +103,7 @@ sub pod-lower-headings(@content, :$to = 1) is export {
my @new-content;
for @content {
@new-content.push($_ ~~ Pod::Heading
?? Pod::Heading.new :level(.level - $by + $to) :contents[.contents]
?? Pod::Heading.new: :level(.level - $by + $to) :contents[.contents]
!! $_
);
}
Expand Down

0 comments on commit 479d63b

Please sign in to comment.