aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack_test.go
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2019-05-17 12:55:17 -0400
committerDaniel Martí <mvdan@mvdan.cc>2019-09-17 16:25:15 +0000
commit38543c2813a1075e09693894625421309d8ef333 (patch)
treec96ea58e5e9f9163d5d6403e52eb63321971d65e /src/runtime/stack_test.go
parentc3c53661ba8823ea7a051110aebbdea2650c25d0 (diff)
downloadgo-38543c2813a1075e09693894625421309d8ef333.tar.xz
net: avoid transiting durations through floats
This slightly simplified the code. I stumbled upon this when support was being added to Fuchsia (and this pattern was initially cargo-culted). Change-Id: Ica090a118a0056c5c1b51697691bc7308f0d424a Reviewed-on: https://go-review.googlesource.com/c/go/+/177878 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions