docs: bad documentation in ExponentialBackoffMaker (#809)

This commit is contained in:
Carlos O'Ryan 2024-12-27 11:42:55 +00:00 committed by GitHub
parent 34a6951a46
commit 954e4c7e8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,10 +79,10 @@ where
///
/// Returns a config validation error if:
/// - `min` > `max`
/// - `max` > 0
/// - `jitter` >= `0.0`
/// - `jitter` < `100.0`
/// - `jitter` is finite
/// - `max` == 0
/// - `jitter` < `0.0`
/// - `jitter` > `100.0`
/// - `jitter` is not finite
pub fn new(
min: time::Duration,
max: time::Duration,