Skip to content
This repository has been archived by the owner on Jul 22, 2018. It is now read-only.

Commit

Permalink
Merge pull request #5 from NanXiao/master
Browse files Browse the repository at this point in the history
Fix typo in pool.go
  • Loading branch information
fatih committed Feb 13, 2014
2 parents d154c6d + 7878600 commit ea2b216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Pool struct {
}

// New returns a new pool with an initial capacity and maximum capacity.
// Factory is used when initial capacity is greater then zero to fill the
// Factory is used when initial capacity is greater than zero to fill the
// pool.
func New(initialCap, maxCap int, factory Factory) (*Pool, error) {
if initialCap <= 0 || maxCap <= 0 || initialCap > maxCap {
Expand Down

0 comments on commit ea2b216

Please sign in to comment.