Skip to content

Commit 70bba3b

Browse files
committed
rustdoc: Fix backoff doc to match implementation
1 parent 0f7d817 commit 70bba3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/mpmc/utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl Backoff {
136136
}
137137
}
138138

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

0 commit comments

Comments
 (0)