aboutsummaryrefslogtreecommitdiffhomepage
path: root/bufferpool
diff options
context:
space:
mode:
Diffstat (limited to 'bufferpool')
-rw-r--r--bufferpool/bufpool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bufferpool/bufpool.go b/bufferpool/bufpool.go
index c1e4105d0..f05675e3e 100644
--- a/bufferpool/bufpool.go
+++ b/bufferpool/bufpool.go
@@ -20,7 +20,7 @@ import (
)
var bufferPool = &sync.Pool{
- New: func() interface{} {
+ New: func() any {
return &bytes.Buffer{}
},
}