From c64ccd156b18ffbd7ba6348b32f0b0787bbb551b Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 20 Apr 2024 09:52:43 -0700 Subject: [PATCH] chore: remove unnecessary explicit type Co-authored-by: Masih H. Derkani --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index 84ccb0a..8d10265 100644 --- a/util.go +++ b/util.go @@ -20,7 +20,7 @@ func nodesForHeight(bitWidth uint, height int) uint64 { return 1 << heightLogTwo } -var bufferPool sync.Pool = sync.Pool{ +var bufferPool = sync.Pool{ New: func() any { return bytes.NewBuffer(nil) },