mirror of
https://github.com/tower-rs/tower.git
synced 2025-10-02 07:20:52 +00:00
docs: bad documentation in ExponentialBackoffMaker
(#809)
This commit is contained in:
parent
34a6951a46
commit
954e4c7e8d
@ -79,10 +79,10 @@ where
|
|||||||
///
|
///
|
||||||
/// Returns a config validation error if:
|
/// Returns a config validation error if:
|
||||||
/// - `min` > `max`
|
/// - `min` > `max`
|
||||||
/// - `max` > 0
|
/// - `max` == 0
|
||||||
/// - `jitter` >= `0.0`
|
/// - `jitter` < `0.0`
|
||||||
/// - `jitter` < `100.0`
|
/// - `jitter` > `100.0`
|
||||||
/// - `jitter` is finite
|
/// - `jitter` is not finite
|
||||||
pub fn new(
|
pub fn new(
|
||||||
min: time::Duration,
|
min: time::Duration,
|
||||||
max: time::Duration,
|
max: time::Duration,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user