pool: fix typo

This commit is contained in:
yyforyongyu committed 2020-12-04 23:07:53 +08:00
1 parent 550341c036
commit eb1affd5da
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ type ReadBuffer struct {
}
// NewReadBuffer returns a freshly instantiated ReadBuffer, using the given
// gcInterval and expieryInterval.
// gcInterval and expiryInterval.
func NewReadBuffer(gcInterval, expiryInterval time.Duration) *ReadBuffer {
return &ReadBuffer{
pool: NewRecycle(