diff options
author | Rob Pike <r@golang.org> | 2010-11-03 11:09:43 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-11-03 11:09:43 -0700 |
commit | 70d0b6b242a2c6c6983b7189df6e8140ed479661 (patch) | |
tree | ccccc4b0d67ec7578ed5c31109522291716e225e | |
parent | 02939dec80e398d77a842f064da4fe412182951b (diff) | |
download | go-70d0b6b242a2c6c6983b7189df6e8140ed479661.tar.gz go-70d0b6b242a2c6c6983b7189df6e8140ed479661.zip |
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
-rw-r--r-- | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html index 075f863195..8bb04e9176 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -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> |