Skip to content

Commit

Permalink
docs: bad documentation in ExponentialBackoffMaker
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan authored Dec 26, 2024
1 parent 34a6951 commit fe54574
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tower/src/retry/backoff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fe54574

Please sign in to comment.