diff --git a/bar.go b/bar.go index db4f66d..0b1947d 100644 --- a/bar.go +++ b/bar.go @@ -171,7 +171,7 @@ } // EnableTriggerComplete enables triggering complete event. It's -// effective only for bar which was constructed with `total <= 0` and +// effective only for bars which were constructed with `total <= 0` and // after total has been set with (*Bar).SetTotal(int64, false). If bar // has been incremented to the total, complete event is triggered right // away. @@ -195,7 +195,7 @@ // SetTotal sets total to an arbitrary value. It's effective only for // bar which was constructed with `total <= 0`. Setting total to negative -// value is equivalent to (*Bar).SetTotal((*Bar).Current(), bool). +// value is equivalent to (*Bar).SetTotal((*Bar).Current(), bool) but faster. // If triggerCompleteNow is true, total value is set to current and // complete event is triggered right away. func (b *Bar) SetTotal(total int64, triggerCompleteNow bool) {