Commit b0b1c5c4 authored by Nick Mathewson's avatar Nick Mathewson 🦞
Browse files

Merge branch 'comment' into 'main'

Adjust a comment

See merge request tpo/core/arti!428
parents 28553d1c 9de0c024
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ impl RetryDelay {
        let low = self.low_bound_ms;
        let high = std::cmp::max(
            // We don't need a saturating_add here, since low is always
            // less than high, so low cannot be equal to u32::MAX.
            // <= MAX_LOW_BOUND, so low cannot be equal to u32::MAX.
            low + 1,
            self.last_delay_ms.saturating_mul(MAX_DELAY_MULT),
        );