aboutsummaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.go b/http.go
index 2dd9061..d134b62 100644
--- a/http.go
+++ b/http.go
@@ -2128,7 +2128,7 @@ func copyZeroAlloc(w io.Writer, r io.Reader) (int64, error) {
}
var copyBufPool = sync.Pool{
- New: func() interface{} {
+ New: func() any {
return make([]byte, 4096)
},
}