aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/nm
diff options
context:
space:
mode:
authorAlberto Donizetti <alb.donizetti@gmail.com>2018-12-09 13:37:17 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2018-12-09 14:27:56 +0000
commit11ce6eabd6073d342d57925af5bbfc0215540ddc (patch)
tree87e8cd85b28d227417f76b986728b14ed1560f9b /src/cmd/nm
parent353795c83975d457f34c599bed20328a9b8f1cc8 (diff)
downloadgo-11ce6eabd6073d342d57925af5bbfc0215540ddc.tar.xz
math/bits: remove named return in TrailingZeros16
TrailingZeros16 is the only one of the TrailingZeros functions with a named return value in the signature. This creates a sligthly unpleasant effect in the godoc listing: func TrailingZeros(x uint) int func TrailingZeros16(x uint16) (n int) func TrailingZeros32(x uint32) int func TrailingZeros64(x uint64) int func TrailingZeros8(x uint8) int Since the named return value is not even used, remove it. Change-Id: I15c5aedb6157003911b6e0685c357ce56e466c0e Reviewed-on: https://go-review.googlesource.com/c/153340 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/nm')
0 files changed, 0 insertions, 0 deletions