aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorAliaksandr Valialkin <valyala@gmail.com>2016-04-15 00:33:28 +0300
committerIan Lance Taylor <iant@golang.org>2016-05-06 16:43:51 +0000
commitc81a3532fea42df33dea54497dfaa96873c2d976 (patch)
tree46da51ae16ddd945e341446aa6fdc7140068bdbc /src/encoding
parent258a4c3daf992958f5d7dc5bccf2c5b41e236959 (diff)
downloadgo-c81a3532fea42df33dea54497dfaa96873c2d976.tar.xz
cmd/vet: check sync.* types' copying
Embed noLock struct into the following types, so `go vet -copylocks` catches their copying additionally to types containing sync.Mutex: - sync.Cond - sync.WaitGroup - sync.Pool - atomic.Value Fixes #14582 Change-Id: Icb543ef5ad10524ad239a15eec8a9b334b0e0660 Reviewed-on: https://go-review.googlesource.com/22015 Reviewed-by: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions