Skip to content

Commit

Permalink
rustdoc: Fix backoff doc to match implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasspinner committed Nov 22, 2022
1 parent 0f7d817 commit 70bba3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sync/mpmc/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Backoff {
}
}

/// Returns `true` if exponential backoff has completed and blocking the thread is advised.
/// Returns `true` if quadratic backoff has completed and blocking the thread is advised.
#[inline]
pub fn is_completed(&self) -> bool {
self.step.get() > YIELD_LIMIT
Expand Down

0 comments on commit 70bba3b

Please sign in to comment.