Skip to content

Commit b66a3c4

Browse files
committed
Fixes typo and reflows
1 parent 98a0e76 commit b66a3c4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/Language/operators.pod6

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2347,14 +2347,15 @@ my %features = %hash, :wields("hammer");
23472347
say %features; # OUTPUT: «{god => Þor, is => mighty, wields => hammer}␤»
23482348
=end code
23492349
2350-
The comma is slso used syntactically as the separator of arguments in calls.
2350+
The comma is also used syntactically as the separator of arguments in
2351+
calls.
23512352
23522353
23532354
=head2 infix C«:»
23542355
2355-
Used as an argument separator just like infix C<,> and marks the argument to
2356-
its left as the invocant. That turns what would otherwise be a function call
2357-
into a method call.
2356+
Used as an argument separator just like infix C<,> and marks the
2357+
argument to its left as the invocant. That turns what would otherwise be
2358+
a function call into a method call.
23582359
23592360
substr('abc': 1); # same as 'abc'.substr(1)
23602361
@@ -2895,4 +2896,4 @@ say [%] ();# OUTPUT: «(exit code 1) No zero-arg meaning for infix:<%>␤
28952896
28962897
=end pod
28972898

2898-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
2899+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)