]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add missing paren (pointed out by nbjoerg)
authorChristopher Wedgwood <cw@f00f.org>
Thu, 19 Aug 2010 00:03:58 +0000 (10:03 +1000)
committerRob Pike <r@golang.org>
Thu, 19 Aug 2010 00:03:58 +0000 (10:03 +1000)
R=rsc, r
CC=golang-dev
https://golang.org/cl/1983045

doc/effective_go.html

index 41a7b8af93eede7aa892b61e1d74121e879b3397..9e769aba47c5521c998048010e202a9319de182b 100644 (file)
@@ -2603,7 +2603,7 @@ func CubeRoot(x float64) float64 {
         }
     }
     // A million iterations has not converged; something is wrong.
-    panic(fmt.Sprintf("CubeRoot(%g) did not converge", x)
+    panic(fmt.Sprintf("CubeRoot(%g) did not converge", x))
 }
 </pre>