1
0
mirror of https://github.com/golang/go synced 2024-11-23 12:10:11 -07:00

doc: fix typo in OverflowInt godoc

This commit is contained in:
Mark Rushakoff 2018-02-12 17:03:20 -08:00 committed by GitHub
parent 06a795e478
commit 651c0291d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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