Skip to content

Commit ff67e95

Browse files
authored
Update Str.rakudoc (#4623)
Change "list" to L<C<Seq>|/type/Seq> where this is relevant (.lines, .words)
1 parent 2594bfc commit ff67e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Str.rakudoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ Examples:
673673
multi method lines(Str:D: $limit, :$chomp = True)
674674
multi method lines(Str:D: :$chomp = True)
675675

676-
Returns a list of lines. By default, it chomps line endings the same as a
676+
Returns a L<C<Seq>|/type/Seq> of lines. By default, it chomps line endings the same as a
677677
call to C<$input.comb( / ^^ \N* /, $limit )> would. To keep line endings,
678678
set the optional named parameter C<$chomp> to C<False>.
679679

@@ -708,7 +708,7 @@ Use L<elems|/routine/elems> call on the returned L<C<Seq>|/type/Seq> instead:
708708
multi method words(Str:D: $limit)
709709
multi method words(Str:D:)
710710

711-
Returns a list of non-whitespace bits, i.e. the same as a call to
711+
Returns a L<C<Seq>|/type/Seq> of non-whitespace bits, i.e. the same as a call to
712712
C<$input.comb( / \S+ /, $limit )> would.
713713

714714
Examples:

0 commit comments

Comments
 (0)