Commit 70d0b6b2 authored by Rob Pike's avatar Rob Pike

Effective Go: correct error in recent edit: "..." is in call to Sprintln, not Output.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/2853042
parent 02939dec
...@@ -1470,7 +1470,7 @@ func Println(v ...interface{}) { ...@@ -1470,7 +1470,7 @@ func Println(v ...interface{}) {
} }
</pre> </pre>
<p> <p>
We write <code>...</code> after <code>v</code> in the call to <code>Output</code> to tell the We write <code>...</code> after <code>v</code> in the nested call to <code>Sprintln</code> to tell the
compiler to treat <code>v</code> as a list of arguments; otherwise it would just pass compiler to treat <code>v</code> as a list of arguments; otherwise it would just pass
<code>v</code> as a single slice argument. <code>v</code> as a single slice argument.
<p> <p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment