Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Small opt on IO.print: not sure
  • Loading branch information
lizmat committed Jun 16, 2014
1 parent 6e0ac15 commit 09a1674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/IO.pm
Expand Up @@ -269,8 +269,8 @@ my class IO::Handle does IO::FileTestable {


proto method print(|) { * }
multi method print(IO::Handle:D: Str:D $value) {
nqp::printfh($!PIO, nqp::unbox_s($value));
multi method print(IO::Handle:D: Str:D \x) {
nqp::printfh($!PIO, nqp::unbox_s(x));
Bool::True
}
multi method print(IO::Handle:D: *@list) {
Expand Down

0 comments on commit 09a1674

Please sign in to comment.