]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: fix comment
authorRobert Griesemer <gri@golang.org>
Thu, 10 Sep 2015 21:10:23 +0000 (14:10 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 10 Sep 2015 21:31:07 +0000 (21:31 +0000)
Fixes #12531.

Change-Id: I66dc7ac1b71b8f72b4a8f3ec18befa2607ef358b
Reviewed-on: https://go-review.googlesource.com/14494
Reviewed-by: Rob Pike <r@golang.org>
src/strconv/itoa.go

index e6f6303356b99e58165b029d6df7ffd2f72141bd..f50d8779408e946a524a1be07cd6a87d81179c82 100644 (file)
@@ -20,7 +20,7 @@ func FormatInt(i int64, base int) string {
        return s
 }
 
-// Itoa is shorthand for FormatInt(i, 10).
+// Itoa is shorthand for FormatInt(int64(i), 10).
 func Itoa(i int) string {
        return FormatInt(int64(i), 10)
 }