Skip to content

Commit

Permalink
Rename to Supply so it can be used as a coercer
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 28, 2015
1 parent 3b1aa2e commit e1cedd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO/Handle.pm
Expand Up @@ -464,7 +464,7 @@ my class IO::Handle does IO {
$buf;
}

method supply(IO::Handle:D: :$size = 65536, :$bin) {
method Supply(IO::Handle:D: :$size = 65536, :$bin --> Supply:D) {
if $bin {
supply {
my $buf := buf8.new;
Expand Down

0 comments on commit e1cedd3

Please sign in to comment.