diff options
author | Russ Cox <rsc@golang.org> | 2017-07-17 11:12:20 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2017-07-17 16:32:05 +0000 |
commit | 8bb88fdcc2b5a6c1b02f601ff8652cef82c78124 (patch) | |
tree | 1839bbcd548d3312493c6281e1d2d67085b0284f | |
parent | 5ac16c6c76fc76f04844c92a6c54aeb97093e053 (diff) | |
download | go-8bb88fdcc2b5a6c1b02f601ff8652cef82c78124.tar.gz go-8bb88fdcc2b5a6c1b02f601ff8652cef82c78124.zip |
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: Russ Cox <rsc@golang.org>
-rw-r--r-- | src/strconv/atof_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strconv/atof_test.go b/src/strconv/atof_test.go index f6c64789cb..3380b20088 100644 --- a/src/strconv/atof_test.go +++ b/src/strconv/atof_test.go @@ -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 { |