spec: example shows wrong value for complex constant

Looks like a typo.
Fixes #7011.

R=golang-codereviews, r, bradfitz
CC=golang-codereviews
https://golang.org/cl/45350043
This commit is contained in:
Mihai Borobocea 2013-12-30 13:29:56 -08:00 committed by Brad Fitzpatrick
parent 206eff7112
commit 8183ed19b9

View file

@ -3929,7 +3929,7 @@ an untyped complex constant.
<pre>
const ic = complex(0, c) // ic == 3.75i (untyped complex constant)
const iΘ = complex(0, Θ) // iΘ == 1.5i (type complex128)
const iΘ = complex(0, Θ) // iΘ == 1i (type complex128)
</pre>
<p>