From d8916d8b637a2104003f5e0c8c0ff355c57af78c Mon Sep 17 00:00:00 2001 From: rubyist Date: Wed, 9 Sep 2015 11:15:46 -0400 Subject: [PATCH] fix another documentation --- lfs/batcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/batcher.go b/lfs/batcher.go index d616b30d..810307bd 100644 --- a/lfs/batcher.go +++ b/lfs/batcher.go @@ -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)