aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-06-18 20:33:03 -0700
committerRob Pike <r@golang.org>2010-06-18 20:33:03 -0700
commit4fd7880d81be995922f0babf26466ff6a893e483 (patch)
tree56cb02cb8ea7f6573ddc84896cae63d193c0e5dc
parent21ff75bc0efc34675775168ccae118cd286f904c (diff)
downloadgo-4fd7880d81be995922f0babf26466ff6a893e483.tar.gz
go-4fd7880d81be995922f0babf26466ff6a893e483.zip
Effective Go: minor change to correct a comment in an example
R=rsc CC=golang-dev https://golang.org/cl/1689042
-rw-r--r--doc/effective_go.html2
1 files changed, 1 insertions, 1 deletions
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 <code>log.Stderr</code> we used above. It passes its arguments directly
<code>fmt.Sprintln</code> for the actual formatting.
</p>
<pre>
-// 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)
}