Skip to content

Commit fa97bfb

Browse files
committed
fix statement terminator in example
1 parent 3e2bdbd commit fa97bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/functions.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ makes it available.
431431
=begin code
432432
# adding a multi candidate to an existing operator:
433433
multi infix:<+>(Int $x, "same") { 2 * $x };
434-
say 21 + "same", # 42
434+
say 21 + "same"; # 42
435435
436436
# defining a new operator
437437
sub postfix:<!>(Int $x where { $x >= 0 }) { [*] 1..$x };

0 commit comments

Comments
 (0)