progress

progress
git clone git://brookjeynes.dev/bjeynes/progress.git
Log | Files | Refs | README | LICENSE

commit 9e4b62e03223cec6611c1a4e13d29b07317e509d
parent 7a131c27d47af97b793b1ae1ce8c8a52e5753d49
Author: Brook J <jeynesbrook@gmail.com>
Date:   Fri,  9 Aug 2024 00:14:36 +1000

Update `render` docstring

Diffstat:
Msrc/progress.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/progress.zig b/src/progress.zig @@ -61,7 +61,7 @@ pub fn add(self: *ProgressBar, num: usize) Error!void { /// Render the progress bar. The progress bar must have a `max_progress` greater /// than 0. /// -/// This function is not thread safe so it must be called with an acquired lock. +/// Render does not need to be explicitly called as `add` will render the bar. pub fn render(self: *ProgressBar) !void { if (self.max_progress == 0) { return Error.MaxIsZero;