diff --git a/progress.go b/progress.go index 3d144da..9bb557e 100644 --- a/progress.go +++ b/progress.go @@ -146,7 +146,7 @@ // Add creates a bar which renders itself by provided BarFiller. // If `total <= 0` triggering complete event by increment methods // is disabled. If *Progress instance is done, i.e. called after -// (*Progress).Wait(), return err == DoneError. +// (*Progress).Wait(), return error == DoneError. func (p *Progress) Add(total int64, filler BarFiller, options ...BarOption) (*Bar, error) { if filler == nil { filler = NopStyle().Build()