Skip to content

Commit f7bc2be

Browse files
committed
Revises reference to slurp-rest refs #2492
1 parent d765ad6 commit f7bc2be

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -712,10 +712,10 @@ Defined as:
712712
multi method slurp-rest(IO::Handle:D: :$bin! --> Buf)
713713
multi method slurp-rest(IO::Handle:D: :$enc --> Str)
714714
715-
B<DEPRECATION NOTICE:> this method will be deprecated in C<6.d> language. Do
715+
B<DEPRECATION NOTICE:> this method is deprecated in C<6.d> language. Do
716716
not use it for new code. Use L«C<.slurp> method|/routine/slurp» instead.
717717
718-
Return the remaining content of the file from the current file position (which
718+
Returns the remaining content of the file from the current file position (which
719719
may have been set by previous reads or by C<seek>.) If the adverb C<:bin> is
720720
provided a L<Buf> will be returned; otherwise the return will be a C<Str> with
721721
the optional encoding C<:enc>.
@@ -1039,4 +1039,4 @@ See also the related role L<IO> and the related class L<IO::Path>.
10391039
10401040
=end pod
10411041

1042-
# vim: expandtab shiftwidth=4 ft=perl6
1042+
# vim: expandtab shiftwidth=4 ft=perl6

doc/Type/Proc.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ my $captured-output = $p.out.slurp: :close;
4343
my $captured-error = $p.err.slurp: :close;
4444
my $exit-code = $p.exitcode;
4545
46-
B<Note:> Versions of L<Rakudo|/language/glossary#Rakudo> older than 2017.04 do not have C<.slurp> available on L<IO::Pipe> objects; use
46+
B<Note:> Versions of L<Rakudo|/language/glossary#Rakudo> older than 2017.04 do
47+
not have C<.slurp> available on L<IO::Pipe> objects; use
4748
L«C<.slurp-rest>|/routine/slurp-rest» instead.
4849
4950
Use L<Proc::Async|/type/Proc::Async> for non-blocking operations.

0 commit comments

Comments
 (0)