]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix typo in OverflowInt godoc
authorMark Rushakoff <mark.rushakoff@gmail.com>
Tue, 13 Feb 2018 01:15:38 +0000 (01:15 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 13 Feb 2018 03:02:09 +0000 (03:02 +0000)
Change-Id: I426310e0c05c2b4a0123299ade0fe11721d40b10
GitHub-Last-Rev: 651c0291d6f2561e3e179a0b97e0e73ac6d21e2f
GitHub-Pull-Request: golang/go#23801
Reviewed-on: https://go-review.googlesource.com/93475
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/reflect/value.go

index c76a9544fdca18a8086cc9b18bbe476193c7298a..c39f839714d74e831ac2d1377ab036e8f176a5e8 100644 (file)
@@ -1228,7 +1228,7 @@ func overflowFloat32(x float64) bool {
 }
 
 // OverflowInt reports whether the int64 x cannot be represented by v's type.
-// It panics if v's Kind is not Int, Int8, int16, Int32, or Int64.
+// It panics if v's Kind is not Int, Int8, Int16, Int32, or Int64.
 func (v Value) OverflowInt(x int64) bool {
        k := v.kind()
        switch k {