]> Cypherpunks repositories - gostls13.git/commitdiff
Effective Go: correct error in recent edit: "..." is in call to Sprintln, not Output.
authorRob Pike <r@golang.org>
Wed, 3 Nov 2010 18:09:43 +0000 (11:09 -0700)
committerRob Pike <r@golang.org>
Wed, 3 Nov 2010 18:09:43 +0000 (11:09 -0700)
R=rsc, gri
CC=golang-dev
https://golang.org/cl/2853042

doc/effective_go.html

index 075f863195e706c7068a56ecba144b60dc6d81e0..8bb04e917637666f95e538800851d62d123d731b 100644 (file)
@@ -1470,7 +1470,7 @@ func Println(v ...interface{}) {
 }
 </pre>
 <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
 <code>v</code> as a single slice argument.
 <p>