]> Cypherpunks repositories - gostls13.git/commit
archive/tar: remore redundant parens in type expressions
authorIskander Sharipov <iskander.sharipov@intel.com>
Wed, 11 Jul 2018 20:45:57 +0000 (23:45 +0300)
committerJoe Tsai <thebrokentoaster@gmail.com>
Tue, 21 Aug 2018 01:47:17 +0000 (01:47 +0000)
commit89d533e368395a5ba3157d9a89d346dd7b50ba51
treeab4859e955f84684929f6626f3b198a57a34a28f
parent692307aa839252285ebb91b4072e3c05ff554341
archive/tar: remore redundant parens in type expressions

Simplify `(T)` expressions to  `T` where possible.

Found using https://go-critic.github.io/overview.html#typeUnparen-ref

Change-Id: Ic5ef335e03898f9fea1ff90fd83956376657fe67
Reviewed-on: https://go-review.googlesource.com/123379
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
src/archive/tar/format.go