From: Rob Pike
Date: Sat, 19 Jun 2010 03:33:03 +0000 (-0700)
Subject: Effective Go: minor change to correct a comment in an example
X-Git-Tag: weekly.2010-06-21~19
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4fd7880d81be995922f0babf26466ff6a893e483;p=gostls13.git
Effective Go: minor change to correct a comment in an example
R=rsc
CC=golang-dev
https://golang.org/cl/1689042
---
diff --git a/doc/effective_go.html b/doc/effective_go.html
index 86c24664f3..41a7b8af93 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -1457,7 +1457,7 @@ function log.Stderr
we used above. It passes its arguments directly
fmt.Sprintln
for the actual formatting.
-// Stderr is a helper function for easy logging to stderr. It is analogous to Fprint(os.Stderr).
+// Stderr is a helper function for easy logging to stderr. It is analogous to Fprintln(os.Stderr).
func Stderr(v ...interface{}) {
stderr.Output(2, fmt.Sprintln(v)) // Output takes parameters (int, string)
}