1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:34:40 -07:00

doc: add missing paren (pointed out by nbjoerg)

R=rsc, r
CC=golang-dev
https://golang.org/cl/1983045
This commit is contained in:
Christopher Wedgwood 2010-08-19 10:03:58 +10:00 committed by Rob Pike
parent ca9098ee94
commit c80746aa90

View 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>