Commit 5f029deb authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

doc: fix comment type typo

Fixes #9418

Change-Id: I044fa1d26d972f012f00388a84c4d0f143cf4f63
Reviewed-on: https://go-review.googlesource.com/1970Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
parent 466118c5
<!--{
"Title": "The Go Programming Language Specification",
"Subtitle": "Version of November 11, 2014",
"Subtitle": "Version of December 22, 2014",
"Path": "/ref/spec"
}-->
......@@ -1981,7 +1981,7 @@ with no explicit type.
</p>
<pre>
var d = math.Sin(0.5) // d is int64
var d = math.Sin(0.5) // d is float64
var i = 42 // i is int
var t, ok = x.(T) // t is T, ok is bool
var n = nil // illegal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment