]> Cypherpunks repositories - gostls13.git/commitdiff
Effective Go: minor change to correct a comment in an example
authorRob Pike <r@golang.org>
Sat, 19 Jun 2010 03:33:03 +0000 (20:33 -0700)
committerRob Pike <r@golang.org>
Sat, 19 Jun 2010 03:33:03 +0000 (20:33 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/1689042

doc/effective_go.html

index 86c24664f31eee9978ddc227aae3297b4f3657ef..41a7b8af93eede7aa892b61e1d74121e879b3397 100644 (file)
@@ -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)
 }