🚀 Update the comment about error types

This commit is contained in:
Andy Pan 2019-01-25 21:54:44 +08:00
parent e65a7d49b7
commit 089a7321ef
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ func Release() {
defaultAntsPool.Release() defaultAntsPool.Release()
} }
// Errors for the Ants API. // Error types for the Ants API.
var ( var (
ErrInvalidPoolSize = errors.New("invalid size for pool") ErrInvalidPoolSize = errors.New("invalid size for pool")
ErrInvalidPoolExpiry = errors.New("invalid expiry for pool") ErrInvalidPoolExpiry = errors.New("invalid expiry for pool")