fix another documentation

This commit is contained in:
rubyist 2015-09-09 11:15:46 -04:00
parent e052e0e5c5
commit d8916d8b63

@ -44,8 +44,8 @@ func (b *Batcher) Next() []Transferable {
return <-b.batchReady
}
// Exit stops all batching and allows Next() to return. Calling Add() after
// calling Exit() will result in a panic, unless Reset() is called first.
// Exit stops all batching and allows Next() to return. Calling Add() will
// reset the batcher.
func (b *Batcher) Exit() {
atomic.StoreUint32(&b.exited, 1)
close(b.input)