]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: apply Brad's review comment
authorRuss Cox <rsc@golang.org>
Mon, 17 Jul 2017 15:12:20 +0000 (11:12 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 17 Jul 2017 16:32:05 +0000 (16:32 +0000)
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: Russ Cox <rsc@golang.org>
src/strconv/atof_test.go

index f6c64789cbb5ca75101a4d026b44de0d018c6cc4..3380b200884f7ce921b77093ad1a540bd5f85f13 100644 (file)
@@ -221,10 +221,10 @@ var (
 )
 
 func initAtof() {
-       atofOnce.Do(initAtof1)
+       atofOnce.Do(initAtofOnce)
 }
 
-func initAtof1() {
+func initAtofOnce() {
        // The atof routines return NumErrors wrapping
        // the error and the string. Convert the table above.
        for i := range atoftests {