mirror of
https://github.com/golang/go
synced 2024-11-24 07:50:13 -07:00
strconv: fix comment
Fixes #12531. Change-Id: I66dc7ac1b71b8f72b4a8f3ec18befa2607ef358b Reviewed-on: https://go-review.googlesource.com/14494 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
4779974314
commit
63ee321059
@ -20,7 +20,7 @@ func FormatInt(i int64, base int) string {
|
|||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
// Itoa is shorthand for FormatInt(i, 10).
|
// Itoa is shorthand for FormatInt(int64(i), 10).
|
||||||
func Itoa(i int) string {
|
func Itoa(i int) string {
|
||||||
return FormatInt(int64(i), 10)
|
return FormatInt(int64(i), 10)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user