From 70bba3b62aa604063fb884602bf3a45dad990fe2 Mon Sep 17 00:00:00 2001 From: Jonas Spinner Date: Tue, 22 Nov 2022 11:06:57 +0100 Subject: [PATCH] rustdoc: Fix backoff doc to match implementation --- library/std/src/sync/mpmc/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sync/mpmc/utils.rs b/library/std/src/sync/mpmc/utils.rs index d0904b4b94cbc..e030c55ce8f61 100644 --- a/library/std/src/sync/mpmc/utils.rs +++ b/library/std/src/sync/mpmc/utils.rs @@ -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