From 57c887e82563e20d60819942a13b930176f25b22 Mon Sep 17 00:00:00 2001 From: Aron Parker Date: Fri, 19 Aug 2022 00:19:20 +0200 Subject: [PATCH] Update ProgressDrawTarget documentation Update ProgressDrawTarget documentation to reflect the actual defaults of 20 hz instead of 15 hz. --- src/draw_target.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/draw_target.rs b/src/draw_target.rs index a6324e5b..a7aae979 100644 --- a/src/draw_target.rs +++ b/src/draw_target.rs @@ -20,14 +20,14 @@ pub struct ProgressDrawTarget { } impl ProgressDrawTarget { - /// Draw to a buffered stdout terminal at a max of 15 times a second. + /// Draw to a buffered stdout terminal at a max of 20 times a second. /// /// For more information see `ProgressDrawTarget::to_term`. pub fn stdout() -> ProgressDrawTarget { ProgressDrawTarget::term(Term::buffered_stdout(), 20) } - /// Draw to a buffered stderr terminal at a max of 15 times a second. + /// Draw to a buffered stderr terminal at a max of 20 times a second. /// /// This is the default draw target for progress bars. For more /// information see `ProgressDrawTarget::to_term`.