Skip to content

Commit 2f46fb1

Browse files
joeybloggsjoeybloggs
authored andcommitted
corrected some spelling mistakes.
1 parent 4d3bde2 commit 2f46fb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

batch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func (p *Pool) Batch() *Batch {
3030
}
3131
}
3232

33-
// Queue queues the work to be run in the pool and starts processing immediatly
33+
// Queue queues the work to be run in the pool and starts processing immediately
3434
// and also retains a reference for Cancellation and outputting to results.
3535
// WARNING be sure to call QueueComplete() once all work has been Queued.
3636
func (b *Batch) Queue(fn WorkFunc) {

pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func (p *Pool) newWorker(work chan *WorkUnit, cancel chan struct{}) {
163163
}(p)
164164
}
165165

166-
// Queue queues the work to be run, and starts processing immediatly
166+
// Queue queues the work to be run, and starts processing immediately
167167
func (p *Pool) Queue(fn WorkFunc) *WorkUnit {
168168

169169
w := &WorkUnit{

0 commit comments

Comments
 (0)