Skip to content

Commit

Permalink
don't try to compile the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Sep 3, 2017
1 parent 68c87ed commit ced237e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions doc/Type/Routine.pod6
Expand Up @@ -228,11 +228,7 @@ where the result is discarded) may lead to a warning. The code
sub double($x) is pure { 2 * $x };
double(21);
say "anything";
produces the warning
Useless use of "double(21)" in expression "double(21)" in sink context (line 2)
# WARNING: «Useless use of "double(21)" in expression "double(21)" in sink context (line 2)»
=head2 trait is rw
Expand Down

0 comments on commit ced237e

Please sign in to comment.