Skip to content

Commit b38cde5

Browse files
authored
Merge pull request #3073 from stoned/lang-func-fix2
Add missing 'the' and fix example's output
2 parents 9420953 + 12e5fa4 commit b38cde5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/functions.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ a 1; # OUTPUT: «Int 1␤Any 2␤»
970970
X<|dispatch,samewith>
971971
972972
C<samewith> calls current candidate again with arguments provided by users
973-
and returns return value of the new instance of current candidate.
973+
and returns the return value of the new instance of current candidate.
974974
975975
=begin code
976976
proto a(|) {*}
@@ -980,7 +980,7 @@ multi a(Int $x) {
980980
return $x * samewith($x-1);
981981
}
982982
983-
say (a 10); # OUTPUT: «36288002␤»
983+
say (a 10); # OUTPUT: «36288000␤»
984984
=end code
985985
986986
X<|dispatch,nextcallee>

0 commit comments

Comments
 (0)