Commit 8bb88fdc authored by Russ Cox's avatar Russ Cox

strconv: apply Brad's review comment

Missed in CL 49253 because I submitted from the Gerrit UI and
had not mailed the latest copy. Sigh.

Change-Id: I540f960278df43e2eaf1aac188eb124a1ff240dd
Reviewed-on: https://go-review.googlesource.com/49256
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent 5ac16c6c
...@@ -221,10 +221,10 @@ var ( ...@@ -221,10 +221,10 @@ var (
) )
func initAtof() { func initAtof() {
atofOnce.Do(initAtof1) atofOnce.Do(initAtofOnce)
} }
func initAtof1() { func initAtofOnce() {
// The atof routines return NumErrors wrapping // The atof routines return NumErrors wrapping
// the error and the string. Convert the table above. // the error and the string. Convert the table above.
for i := range atoftests { for i := range atoftests {
......
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