Skip to content

Commit

Permalink
varargs example erroneously transformed "abc" to "def" (#19781)
Browse files Browse the repository at this point in the history
(cherry picked from commit 85bc832)
  • Loading branch information
Zectbumo authored and narimiran committed May 24, 2022
1 parent 28af1e5 commit 3e39f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ type conversions in this context:
myWriteln(stdout, 123, "abc", 4.0)
# is transformed to:
myWriteln(stdout, [$123, $"def", $4.0])
myWriteln(stdout, [$123, $"abc", $4.0])
In this example `$` is applied to any argument that is passed to the
parameter `a`. (Note that `$` applied to strings is a nop.)
Expand Down

0 comments on commit 3e39f5b

Please sign in to comment.