summaryrefslogtreecommitdiff
path: root/doc/effective_go.html
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
commitb4567506fd65d31a3b04b83ec853cbfa9f74d02f (patch)
tree169dac695a77384e396b2f0819f8cd719765a07e /doc/effective_go.html
parente8bbf1946bbdf4923b0ac66bda8339f49fec7ab3 (diff)
downloadgolang-b4567506fd65d31a3b04b83ec853cbfa9f74d02f.tar.gz
Effective Go: minor change to correct a comment in an example
R=rsc CC=golang-dev http://codereview.appspot.com/1689042 Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'doc/effective_go.html')
-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 86c24664f..41a7b8af9 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)
}