mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
add codespell action (#18818)
Original work here, #18474, refixed and updated.
This commit is contained in:
@@ -295,7 +295,7 @@ var copyBufPool = sync.Pool{
|
||||
},
|
||||
}
|
||||
|
||||
// Copy is exactly like io.Copy but with re-usable buffers.
|
||||
// Copy is exactly like io.Copy but with reusable buffers.
|
||||
func Copy(dst io.Writer, src io.Reader) (written int64, err error) {
|
||||
bufp := copyBufPool.Get().(*[]byte)
|
||||
buf := *bufp
|
||||
|
||||
Reference in New Issue
Block a user